Thank you for the opportunity to help you with your question!
The way the court system is set up, focuses on determining whether an individual is guilty or innocent beyond reasonable doubt. Thus, the truth can be somewhere in between. By utilizing efficient resources and proper measures the court system tries to determines the truth as best as they can.
Please let me know if you need any clarification. I'm always happy to answer your questions.