I can divorce my wife by beating her to death. Things can work, but that doesn't stop them from being stupid.
That hypothetical action doesn't "work" in the sense of helping you accomplish all relevant goals, among which, I assume, is the desire to not be incarcerated. (It is also obviously highly immoral.) Put another way, if you define "work" to include something very bad happening to you, that's just "stupid."
Another month, another rationality quotes thread. The rules are: