There are easier ways for the prosecution to “throw” a case. This one would’ve counted on the defense to discover the shenanigans.
Or let them know. The cat got out of the bag somehow didn't it.