Each violation of this chapter or of any regulations, orders, or rulings promulgated or made pursuant to this chapter, shall constitute a misdemeanor and shall be punishable by a fine of not more than five hundred dollars ($500.00) or imprisonment for not more than 30 days or by both such fine and imprisonment. Each day a violation continues to exist shall constitute a separate offense. In addition, the political subdivision or agency adopting zoning regulations under this chapter may institute in any court of competent jurisdiction, an action to prevent, restrain, correct, or abate any violation of this chapter, or of airport zoning regulations adopted under this chapter, or of any order or ruling made in connection with their administration or enforcement. The court shall adjudge to the plaintiff such relief, by way of injunction (which may be mandatory) or otherwise, as may be proper under all the facts and circumstances of the case, in order fully to effectuate the purposes of this chapter and of the regulations adopted and orders and rulings made pursuant thereto.