A certificate of occupancy shall not be issued unless the proposed use of a building or land conforms to the applicable provisions of this chapter, or unless the building, as finally constructed, complies with the sketch or plan upon which the building permit was issued. The city manager or his designee shall state in writing the reasons for denying such certificate of occupancy.