The city clerk shall not grant an occupational tax certificate to any person or firm unless the business conforms to the regulations of the zoning district in which the business is located or is established as a legal nonconforming use. A duly issued certificate of occupancy shall be evidence of such conformity.