If, after due inquiry, the Minister considers that a council or municipal building surveyor has not satisfactorily carried out any function given to the council or building surveyor under this Act or the regulations, the Minister may, by order, direct the council—
(a) to carry out the function within a specified time; or
(b) to cause the building surveyor to carry out the function within a specified time, as the case requires.