. . . . "(f)Require owners of illegally constructed houses, buildings or structures to obtain the necessary permit, subject to such fines and penalties as may be imposed by law or ordinance;" . . .