All courts shall take judicial notice of the classification of municipal corporations, and of their advancement, reduction, and surrender of powers.