Basically, if he didn't follow the guidelines and went lenient, the Prosecutor would appeal the case and get the sentence into the guideline range.
If the judge went over the maximum guideline amount, the Defendant could appeal the case.
No judge likes having his rulings overturned because he didn't follow the law.