They clearly can’t be relied upon to do that, though, can they? Police aren’t generally the brightest sparks (and often seem totally oblivious to what the law actually states).
Prosecutors will of course do whatever they can to support their case that is within the rules.
Relying on a single expert witness should never be an option. Relying on someone who is not even an expert in the subject area in question should be prohibited.
Judges can only go on the evidence presented in court and hands are tied by archaic rules around grounds for appeals etc, and also have their own prejudices in many cases.
Juries are made up of random people and, frankly, the idea of having my innocence or guilt decided by a random 12 people collected from the street is terrifying given that by definition over 50% of people have below average intelligence, a significant minority aren’t very capable of rational, evidence-based decision making. Over 10% of adults are functionally illiterate in maths and English so the idea they could reach valid conclusions in a complex case involving complex medical data or statistical probabilities is a nonsense.
Jury selection should involve requirement to sit a test involving critical thinking and weighing up evidence for people to demonstrate the required skills to weigh evidence and make rational - not emotionally-driven - decisions. A brief optional training course should be provided to assist anybody keen to do it but who may not be capable already. And only those who pass the test should be considered for selection, as well as screening out for prejudices/ conflicts of interest etc as they try to do already (but not robustly enough, in my opinion).