Senate Bill No. 1223’s amendments to the mental health diversion statute (Pen. Code, § 1001.36) apply retroactively to nonfinal cases. Defendant pleaded guilty to multiple offenses, after his request for pretrial mental health diversion was denied. On appeal, he argued that…