You have said this a couple of times. It seems a remarkable proposition. It seems there must be well discovered precedents for you to be so confident. Is there well researched literature that describes similar malfeasance?
Well... it's conjecture, and I hope I haven't tried to suggest it is more than that, because I don't know. But it is reasonable conjecture, and there are precedents, starting with the Dreyfus case. The real traitor (Esterhazy) was tried and acquitted in a closed-door proceeding, because exposing him would have made the French high command look bad.
Another one to look at is the Barry Beach case in Montana. Beach was convicted of murdering a teenage girl on the strength of a false confession. It's more likely this girl was killed by a group of peers who resented her (cf Kelly Ellard/Reena Virk). One of these peers was the daughter of a local cop. Evidence disappeared from a locker at the police station, fingerprints were never matched, and rumors have been swirling ever since. But Beach is back in prison after having been released for a couple of years. The Montana court system is determined to protect this wrongful conviction.
Also look at the Marty Tankleff case. He has been cleared of murdering his parents. The real perpetrator was probably a business associate of Tankleff's father who again had connections to the local police dept.
In the Heinze Jr. case, we have a witness who says two men threatened to kill the entire family of one of the murder victims. If he knew these guys had a vendetta, probably other people did too. The guys who do what happened to Heinze Jr.'s family are not like sex killers, who usually don't tell anyone. They are local tough guys who want people to be afraid of them, so they let it be known. And of course people who know something are afraid to talk to the cops, for good reason. Even so, I'm guessing it's very likely these murders could have been solved with a proper investigation, and perhaps still could be.
I harbor similar suspicions in the Lundy case as well.