There is a sensible way to deal with this what if scenario. It won't become law, but it's good to think about.
It should be that if a prosecutor does not allow all the evidence in and / or knows of something that would have established the accused's innocence, that prosecutor should face prosecution and their sentence the same as their victim got.