Any person violating any of the provisions of this chapter shall be punished by a fine or imprisonment, or both. In no case shall the maximum punishment for violation of this chapter exceed the maximum penalties allowed by the city Charter. Each day's continuance of a violation shall be considered a separate offense. The city, as an alternative remedy, shall have the right to deny issuance of a building permit or an occupancy permit, or both, for noncompliance with the provisions of this chapter. The municipal court shall have jurisdiction of any offense charged pursuant to this chapter.