Andrew Sullivan addresses the state of things in the James Yee case and says, "This is called framing someone."
I don't know that framing is the right word, but it certainly is starting to look like a botched prosecution.