Where the successor city is, or becomes, a chartered city, under a freeholder’s charter providing that boroughs may be established in territories or cities annexed to or consolidated with it, this division does not prevent a predecessor city, or any part of it, from becoming a borough.