At least 5-10% of people get off on technical details the police or prosecutors messed up or just good lawyering of guilty people. The rest the cases fall apart before trial because of witnesses or other evidence and turns of events. (I’m pulling these numbers out of my ass just to make a point).
The problems in Japan are with the due process and a serious lack of rights of the accused. Even if we completely ignore the conviction rates.