(a) This article shall be enforced by the office of the building official of the county. Citations for violations may be issued by the chief building official of the county. (b) Any person violating this article shall be tried before the chief magistrate of the county. Upon conviction, a violation of this article may be punished as provided in section 1-12.