If judgment is for the commonwealth, an execution for costs shall issue; if it is for the defendant, the costs shall be paid by the commonwealth.
Massachusetts Legal Code
If judgment is for the commonwealth, an execution for costs shall issue; if it is for the defendant, the costs shall be paid by the commonwealth.