The owner or agent of any building or premises where a violation of such regulations or orders shall have been committed, or shall exist or the lessee or tenant of an entire building or an entire premises, where such violation shall have been committed or shall exist, or the owner, agent, lessee or tenant of an entire building or premises where such violation shall have been committed or shall exist or the agent, architect, builder, contractor or any other person who shall maintain any building or premises in which any such violation exists, shall be fined for each day that such violation shall continue to the full extent allowed under state law. The superior court shall have jurisdiction over all such offenses with the right of appeal as in other criminal cases.