Sounds like malicious prosecution, there ought to be a law against that.
As Anderson Cooper’s famous ancestor said, “Law? What do I care about the law? Hain’t I got the power?”