If a case is transferred for plea or trial and sentence pursuant to the Massachusetts Rules of Criminal Procedure, the district attorney for the county to which the case is transferred or the district attorney for the county from which the case is transferred shall have the same authority and duty in the case as if it had not been transferred, depending upon which of the district attorneys is to try the case.
Mass. Gen. Laws ch. 277, § 53