Violation of the provisions of this chapter or failure to comply with any of its requirements, including violation of conditions and safeguards established in connection with grants of variance or special exceptions, shall constitute a misdemeanor. Any person who violates this chapter or fails to comply with any of its requirements shall, upon conviction, be punished as provided in section 1-11, and in addition, shall pay all costs and expenses involved in the case. Nothing contained in this section shall prevent the county from taking such other lawful actions as is necessary to prevent or remedy any violation.