b. In no event shall the court require as a term or condition of supervisory treatment under this section, referral to any residential treatment facility for a period exceeding the maximum period of confinement prescribed by law for the offense for which the individual has been charged or convicted, nor shall any term of supervisory treatment imposed under this subsection exceed a period of three years.
Upon violation of a term or condition of supervisory treatment the court may enter a judgment of conviction and proceed as otherwise provided, or where there has been no plea of guilty or finding of guilty, resume proceedings. Upon fulfillment of the terms and conditions of supervisory treatment the court shall terminate the supervisory treatment and dismiss the proceedings against him. Termination of supervisory treatment and dismissal under this section shall be without court adjudication of guilt and shall not be deemed a conviction for purposes of disqualifications or disabilities, if any, imposed by law upon conviction of a crime or disorderly persons offense but shall be reported by the clerk of the court to the State Bureau of Identification criminal history record information files. Termination of supervisory treatment and dismissal under this section may occur only once with respect to any person. Imposition of supervisory treatment under this section shall not be deemed a conviction for the purposes of determining whether a second or subsequent offense has occurred under section 29 of P.L. 1970, c.226 (C.24:21-29), chapter 35 or 36 of this title or any law of this State.