(vi)Require owners of illegally constructed houses, buildings or structures to obtain the necessary permits, subject to such fines and penalties as may be imposed by law or ordinance, or to make necessary changes in the construction or to order the demolition or removal of said houses, buildings or structures within the period prescribed by law or ordinance;