Mass. Gen. Laws ch. 218, § 58B
(b) Upon said certificate becoming effective, said special justice shall be subject to the following provisions:
(d) A special justice of the Boston juvenile court who certifies himself in accordance with the provisions of this section shall be deemed to be entitled to the provisions of section six with regard to vacation and sick leave, including the provisions relative to accumulation; and, provided further, that during the calendar year in which his certificate is made effective, said special justice shall be entitled to the number of absences for vacation and sick leave corresponding to the proportion of said year remaining after said certificate becomes effective.
Notwithstanding any provisions of the General Laws to the contrary, (1) for the purposes of determining his pension responsibilities a special justice of the Boston juvenile court who serves full-time in accordance with the provisions of this section shall not be subject to the provisions of section sixty-five D of chapter thirty-two; and (2) for purposes of determining the pension rights of a special justice of the Boston juvenile court who files a certificate in accordance with the provisions of this section said special justice may elect to waive the provisions of section sixty-five B of chapter thirty-two and his full-time service shall be deemed the service of a justice of a district court, other than the chief justice, and said special justice shall be entitled to the same credit for his part-time service, if any, as a special justice as is provided in section sixty-five A of chapter thirty-two for a justice of a district court who has previously served as a special justice, provided, however, that nothing herein shall be construed to alter the pension rights and responsibilities applicable to a special justice of the Boston juvenile court who does not file a certificate under the provisions of this section.