(a) traffic infraction, if such provision, law, ordinance, rule, regulation or order is one which regulates traffic as specified in section one hundred fifty-five of the vehicle and traffic law, but does not relate to snowmobiles.
(b) violation, for any other offense. 2. A traffic infraction shall be punishable as provided in subdivision (b) of section one thousand eight hundred of the vehicle and traffic law in the same manner as if the offense were a violation of the vehicle and traffic law. A violation shall be punishable as provided in the penal law. Upon conviction of a violation of any provision of article twenty-five of this chapter a court may also require the convicted person, as a condition of the sentence in addition to any other penalty, to successfully complete a snowmobile safety course approved by the commissioner.