Section 241/2. No person whose license has been suspended in the commonwealth or any other jurisdiction by reason of: an assignment to an alcohol or controlled substance education, treatment or rehabilitation program; or a conviction for violating paragraph (a) of subdivision (1) of section 24, subsection (a) of section 24G, operating a motor vehicle with a percentage by weight of blood alcohol of eight one-hundredths or greater, or while under the influence of intoxicating liquor in violation of subsection (b) of said section 24G, section 24L, section 131/2 of chapter 265, subsection (a) of section 8 of chapter 90B, section 8A or 8B of chapter 90B or, in the case of another jurisdiction, for any like offense, shall be issued a new license or right to operate or have his license or right to operate restored if he has previously been so assigned or convicted, unless a certified ignition interlock device has been installed on each vehicle owned, each vehicle leased and each vehicle operated by that person as a precondition to the issuance of a new license or right to operate or the restoration of such person's license or right to operate. A certified ignition interlock device shall be installed on all vehicles owned, leased and operated by the licensee for a period of 2 years and person restricted by a certified ignition interlock device shall have such device inspected, maintained and monitored in accordance with such regulations as the registrar shall promulgate. The registrar may, after hearing, revoke for an extended period or for life, the license of whoever removes such device or fails to have it inspected, maintained or monitored on at least 2 occasions during the period of the restricted license or right to operate if the licensee has operated or attempted to operate a vehicle with a blood alcohol level that caused the certified ignition interlock device to prohibit a vehicle from starting on at least 2 occasions or that recorded a blood alcohol level in excess of.02 on at least 2 occasions. A person aggrieved by a decision of the registrar pursuant to this section may file an appeal in the superior court of the trial court department. If the court determines that the registrar abused his discretion, the court may vacate the suspension or revocation of a license or right to operate or reduce the period of suspension or revocation as ordered by the registrar.