When you plead out to 24 months, its up to 24 months, he can get 18 or 20 months. The judge could deviate and give 30 months.
Usually they follow the prosecutors and deal.