I knew a guy who was charged with a crime he didn’t commit, and had strong proof of his innocence.
He was advised to do a bench trial.
The idea was the evidence was so strongly in his favor that only an idiot would find him guilty, and a judge was less likely to be an idiot than a jury.
It worked out splendidly. The trial didn’t even finish. The judge halted the trial half way through and “advised” the prosecution to drop charges, which they did.
This is of course not representative. But if I were ever in the same spot, I’d seriously consider a bench trial.