As used in this section ???motor vehicle violation??? shall mean a violation of law, regulation, by-law, or ordinance, except a violation related to parking, the nature of which would have been reported to the registrar pursuant to chapters eighty-nine, ninety, ninety C, or one hundred and seventy-five, if said violation had occurred in the commonwealth.