(a) (1) Each political subdivision, by action of its legislative body, may provide for the enforcement of this subtitle and of any rule, regulation, or ordinance or other legislation adopted under it.
(2) In addition to any other remedy, the political subdivision or its proper agency may institute or cause to be instituted any appropriate legal, equitable, or criminal action to enforce any provision of this subtitle or of any rule, regulation, or ordinance or other legislation adopted under this subtitle.
(b) Any person who violates any provision of this subtitle or of any rule, regulation, or ordinance or other legislation adopted by a political subdivision under this subtitle is guilty of a misdemeanor and on conviction:
(1) Is subject to the punishment of fine or imprisonment or both provided for by the political subdivision; or
(2) If the political subdivision does not provide for any punishment, is subject to a fine of not more than $500 for each day or part of a day that the violation continues.