IMO, the judges making/accepting these deals (especially the ones returning cases to juvie) need to be outed and publicly shamed.
Maybe then the DAs and SAs might get the idea.
Been attempted and the judges don't care. Many are elected and play the D and race cards for re-election. Automatic win regardless of what they are doing to the communities ... where I doubt they themselves live. Until it hits home for them, there will be no change.