The owner of any building, or any person having an interest who occupies or uses such building or permits the occupation or use of such building without a certificate of occupancy may be guilty of an offence.