In every case of a conviction of or a plea of guilty to a violation of subdivision (1) of section twenty-four involving operating a motor vehicle with a percentage, by weight, of alcohol in their blood of eight one-hundredths or greater, or under the influence of intoxicating liquor or a disposition under section twenty-four D, the court shall inquire of the defendant, before sentencing, regarding whether he was served alcohol prior to his violation of said section at an establishment licensed to serve alcohol on the premises and the name and location of said establishment.
Any information so acquired by the court shall be transmitted by the clerk's office to the alcohol beverage control commission, the office of the attorney general, the office of the district attorney for the district in which the establishment is located, and such establishment.
Mass. Gen. Laws ch. 90, § 24J