The courts are not about justice, they are simply courts of law.
Judges, seem to think they are bigger than the law and justice rarely enters their minds.
Most have an agenda, "pet" offenses they sentence harder than others and some offenses they simply ignore. The system is for the greater part broken.
Regardless of that fact, she could have charged the prosecutor with contempt of court and still not dropped the case.