See MGL c. 276, s.100A.

You chose to accept the "unfair conditions" in order to get the charge dropped. You could have taken your chances at trial.