Notwithstanding ORS 161.525, the court may enter judgment of conviction for a Class A misdemeanor and make disposition accordingly when:
(1)
(a) A person is convicted of any Class C felony;
(b) A person is convicted of a Class B felony pursuant to ORS 475.860 (2);
(c) A person is convicted of the Class B felony of possession of marijuana pursuant to ORS 475.864 (2); or
(d) A person convicted of any of the felonies described in paragraphs (a) to (c) of this subsection, or of a Class A felony pursuant to ORS 166.720, has successfully completed a sentence of probation; and
(2) The court, considering the nature and circumstances of the crime and the history and character of the defendant, believes that it would be unduly harsh to sentence the defendant for a felony.