In any case where there is a violation of any county ordinance for which no penalty is provided, the person violating the same shall be subject to a forfeiture of not less than $10 nor more than $200 for each offense, except as provided in the following subsections:
A.
No violation of any ordinance of the county shall be or be construed to be a misdemeanor, nor shall imprisonment be imposed as a punishment for violation of any ordinance of the county except in the event of a failure of the defendant to pay the forfeiture imposed by the court, any other provision of the general ordinances of the county to the contrary notwithstanding.
B.
When a forfeiture is imposed for the violation of any ordinance of the county or any section thereof the court may also order the defendant to pay the cost of the action and to be imprisoned until such forfeiture and costs are paid, in no case, however, to exceed six months, and the court may also issue an execution against the property of the defendant for said forfeiture and costs.