I understand that too.
But no matter what we do this is an unsolvable problem of policing/judicial system. There will always be people who are falsely accused/falsely convicted. Let's say less than 1%, as a hypothetical. Do we accept that due to that we might be reducing crime by a lot? That's a question society has to answer.
I think the best solution here is not focusing on policing/courts, but making sure that everyone in the society is content, so that they don't commit crimes. Happy people with resources a typical human wants probably don't commit many crimes.