How about this?
If you’re a cop, and there’s evidence that you attempted to frame someone for a crime, your sentence is automatically double the maximum sentence that the person you were trying to frame would get.
If you’re not corrupt, and not committing crimes under the the color of law, then you have nothing to fear. If you’re committed to the rule of law, then you should support this law. If on the other hand, you’re worried about being nailed by said law…
Guess which way the police unions would go on this suggestion?