You're shoehorning complaints about the judiciary into a case which never made it to a judge.
A judge may well throw this out on its merits, but the case has to progress far enough that a judge has the chance to consider it on its merits. A DA offering a plea deal "so you avoid risking jail time" is basically circumventing that, as the judge doesn't have the resources or authority to investigate every plea deal that comes their way.
Anybody, and I do mean ANYBODY, who has been to traffic court knows the courts are the extension of the cops. Worse yet, in criminal court, judges tell the jury that "being a cop doesnt give any more or less truthfulness or power on their words".
The judges work with with cops and prosecution on a daily basis. They work against you extremely rarely.