The other major problem is advocacy gap. An ambitious prosecutor looking to jump-start his career will provide unbalanced advocacy compared to a pro-bono defense lawyer.
You have to take into account the fact that the defense is encouraged to miss the forest (truth) for the trees (exoneration) as well.
In the event a prosecutor is pretty sure the defendant is innocent AND that they can probably get a conviction, I'd like to see them abandon their case (I don't know if this allowed, but they could certainly argue to a jury or judge that the person is innocent), but I understand that it's not required, and I don't consider them evil unless they go further and try to block appeals, or conceal exculpatory evidence.
Perhaps you might suggest the prosecution is in the best position to know. Perhaps you might suggest that if the prosecution is 80% certain of innocence, that clearly the defendant should be found innocent. But, according to our law, (unless I grossly misunderstand them) it is not his choice to make.
I think that in some cases, they want to imprison someone, and show that they are doing their job, even if they have serious doubts about the guilt of the person they are imprisoning.
In any case, refusing to allow DNA testing that can categorically establish the guilt or innocence of someone seems to me to be unethical.
Err... no. There are plenty of genuinely guilty people to go after without knowingly attempting to imprison innocent people.
Legal system isn't always all that cut and dried, you can't always go straight for the throat. Many of the big crime bosses and such were apparently brought down on tax evasion!
I'm sure there's been more than one time stymying a fact finding effort has helped send a guilty man to jail. It's not all cut and dried. I gather my views are unpopular, but hey, oh well.
It's not that they want to imprison innocents; it's a prosecutor's job to get the defendant convicted no matter what, whether or not they personally believe the defendant is guilty. They are simply acting as their job calls for (the conflicting prosecution and defense attorneys in theory bringing about the truth), because until now you could never be 100% sure. '100% sure' and 'our legal system' do not go well together.
P.S. Don't invoke the argument over the ethically wrong claiming 'oh I was just doing my job'- this is different; we WANT the prosecutor to behave like that, even if he feels or even knows the defendant is innocent. It's what (in theory anyway) makes the system work.