5 years in jail for gay teacher who sent threatening voicemails to judge who OK'd "Don't Say Gay" law

Of course the judge does not have to accept. But in the scenario I described the defendant can withdraw their plea if the judge does not accept the plea bargain.

The Federal Rules of Criminal Procedure are quite clear on that.