No the judge was not at all bound by the deal he made. He may have been guilty of other misconduct but he was absolutely right that a psych eval and probation were not an appropriate penalty for anally raping a thirteen year old. And it is within his rights as a judge to reject the terms of a plea.