American criminal law is a procedurally complicated system, because of the ability of criminal defendants charged in the state system to access the federal courts for habeas corpus relief. That relied, however, has been constrained the past twenty years because of the Antiterrorism and Effective Death Penalty Act (AEDPA). Nonetheless, some federal judges have been able to leverage their star power to get convictions obtained under questionable circumstances reversed. The linked article's subtitle is "The criminal justice system encourages prosecutors to get guilty verdicts by any means necessary—and to stand by even the most questionable convictions. Can one crusading court stop the lying and cheating?" And by one crusading judge, the author is referring to judge Alex Kozinski. The article has a link to the oral argument, but I have re-linked below in YouTube format:
Watch around minute 32 to see Judge Kozinski in action offering the prosecution a way out.