For any and every violation of any other provision of this Title, the owner, general agent or contractor of a building or premises where such violation has been committed or shall exist, and the lessee or tenant of an entire building or entire premises where such violation has been committed or shall exist, and the owner, general agent, contractor, lessee or tenant of any part of a building or premises in which part such violation has been committed or shall exist, and the general agent, architect, builder, contractor or any other person who commits, takes part, or assists in such violation shall exist, shall, for each and every violation, be punished by one or more of the following penalties: (1) a fine not exceeding $1,000; (2) imprisonment for any term not exceeding 90 days; or (3) a period of community service not exceeding 90 days, provided, however, that when the maximum penalty fixed by an applicable State Statute is less, by force of said State Statute or by judicial construction, than any penalty fixed in the Revised General Ordinances, then the limitations of such State Statute shall be applicable.