Except for that pesky expectation that prosecutors should not put people through a trial when they have not committed a crime, I agree with you.
This sort of thing happens all too frequently in rural counties throughout the country. My nephew was in a long legal battle for visitation with his son. The tramp he married was related to the judge and prosecutor in an Alabama county. He lost based on perjuried testimony.