Mass. Gen. Laws ch. 25, § 20
(b) Notwithstanding any general or special law to the contrary:
(1) a municipal lighting plant which does not supply generation service outside its own service territory or does not open its service territory to competition may elect to assess and remit a mandatory charge per kilowatt-hour upon its electricity consumers on the same terms and conditions as apply to the charge imposed on consumers residing in competitive distribution service territories under this section; provided, however, that such an election by a municipal lighting plant shall be irrevocable and such a municipal lighting plant shall not be deemed to be supplying generation service outside its service territory or opening its service territory to competition at the retail level for the purposes of the first sentence of subsection (a); and (2) in administering the Massachusetts Renewable Energy Trust Fund, the Massachusetts clean energy technology center, shall not make any grant or loan or provide any subsidy from the trust fund to any municipal lighting plant or consumer residing in the distribution service territory of such municipal lighting plant unless: