(a) It shall be unlawful to occupy for human habitation any building which is declared by the health officer to be unfit for such habitation by reason of defective sanitary conditions, until such conditions have been remedied and the premises approved by the health officer as fit for occupancy.
(b) If work has been done and expense incurred by the village in connection with dangerous buildings, a bill of the cost thereof shall be rendered by the village to the owner, lessee, occupant or agent of the property.
(c) The village may refuse to issue a permit for the reconstruction, alteration or repair of any building or portion thereof on the property involved until the expenditure incurred by the village on account of the work and material supplied has been repaid.