Any person, firm or corporation violating any provision of any article of this chapter or who shall violate or fail to comply with any order made thereunder or who shall falsify statements filed thereunder or who shall continue to work upon any building after having received written notice from the administrative officer to cease work shall be guilty of any offense to punishable by a fine not to exceed $1,000 or imprisonment for a period not to exceed 15 days, or both. However, for the purpose of conferring jurisdiction upon the courts and judicial officers, generally, violations of this chapter shall be deemed misdemeanors, and for such purpose only, all provisions of law relating to misdemeanors shall apply to such violations.