(b) Any person convicted of a misdemeanor under subsection (a) of this section shall be subject to the following penalties:
(1) Upon a first conviction under this section, the defendant shall be fined not less than fifty dollars nor more than two hundred fifty dollars.
(2) Upon a second conviction under this section, the defendant shall be fined not less than two hundred fifty dollars nor more than five hundred dollars.
(3) Upon any subsequent conviction in excess of a second conviction under this section, the defendant shall be fined not less than five hundred dollars nor more than one thousand dollars, or imprisoned in the county jail not less than thirty days nor more than sixty days, or both fined and imprisoned.
Notwithstanding the provisions of section four, article eleven-a of this chapter or section two-a, article three, chapter fifty of this code, the magistrate or court may order restitution not to exceed the value of unauthorized solid waste services received.