In politics that's known as an empty threat or a political stunt.
The exact same thing would be said upon filing of a lawsuit.