No owner, or an employee or agent of an owner, or a lessor, shall live or permit any person to live in a dwelling or a dwelling unit until a certificate of occupancy has been issued, if an application therefor has been denied within the time and in the manner herein provided.
In the event the premises are not inspected and the application denied within the time, and in the manner herein provided, the building inspector shall thereafter promptly make the inspection herein provided, and give the aforesaid notice to the owner of said premises, who shall make such repairs or improvements as soon as reasonably possible, and notify the building inspector upon the completion thereof.