After an official census is officially published, if a city is divided into a greater number of wards and has elected a greater number of alderpersons than the city is entitled to, the division and election shall, nevertheless, be valid and all acts, resolutions, and ordinances of the city council of that city, if in other respects in compliance with law, are valid.
65 ILCS 5/3.1-20-30