In cases arising from felonies committed on or after November 1, 1989:
(1) Whenever a plea agreement is presented to the sentencing judge, the defendant’s criminal history classification, as set forth in the rules of the Oregon Criminal Justice Commission, shall be accurately represented to the trial judge in the plea agreement. If a controversy exists as to whether a prior conviction or juvenile adjudication should be included in the defendant’s criminal history, or as to its classification under rules of the Oregon Criminal Justice Commission, the district attorney and the defendant may stipulate to the inclusion, exclusion or classification of the conviction or adjudication as part of the plea agreement subject to approval of the court.(2) The district attorney and the defendant may stipulate to the grid block classification within the sentencing guidelines grid established by the rules of the Oregon Criminal Justice Commission that will provide the presumptive sentence range for the offender. The sentencing judge may accept the stipulated classification and impose the presumptive sentence provided in the rules of the Oregon Criminal Justice Commission for that grid block.(3) If the district attorney and the defendant stipulate to a grid block classification within the sentencing guidelines grid, and the sentencing judge accepts the stipulated classification but imposes a sentence other than the presumptive sentence provided by rules of the Oregon Criminal Justice Commission, the sentence is a departure sentence and is subject to rules of the Oregon Criminal Justice Commission related to departures.(4) The district attorney and defendant may stipulate to a specific sentence within the presumptive range provided by rules of the Oregon Criminal Justice Commission for the stipulated offender classification. If the sentencing judge accepts the plea agreement, the judge shall impose the stipulated sentence.(5) The district attorney and the defendant may stipulate to a sentence outside the presumptive sentence range for a stipulated grid block classification. The sentencing judge may accept an agreement for an optional probationary sentence or a departure sentence as provided in rules of the Oregon Criminal Justice Commission.