Makes little difference because judges already have a very wide latitude in evidentiary hearings and can easily throw a trial by preventing the defense from presenting evidence, especially if prosecutorial misconduct is at play. They can also wholesale prevent legal arguments from being made, further crippling the defense's case. Meanwhile there's never a shortage of police officers willing to take the stand and perjure up any story that the prosecution wants.
tldr you're naive. the criminal justice system has been nothing more than a circus for quite some time now.
(Edited 48 seconds later.)