(On the other hand, I feel like the zappy USB port may actually be easier to get away with, especially if you say your threat model was corporate spies or criminals trying to steal your password, because "violence against tools" does not seem to be put in the vigilante violence box. Those special materials they have for safe doors that are designed to damage angle grinders (https://www.newscientist.com/article/2249275-material-that-c...) are not illegal.)
The court follows the principle of clean hands. A thief is not going to have a compelling case against someone when they are throwing the first stone by stealing someone's sandwich. It's an interesting take, and I'd have to dive into actual case law to even determine if the test scenario is apocrypha or not. However, I doubt the laxative in sandwich argument would be compelling to a judge when there are much more relevant and easy to reach challenges to overcome.
-I.e. State mandated weakness to exploitation by Law Enforcement (You can't defend yourself from exploits used by Law Enforcement, which you are also not allowed to know about under Executive Privilege) -The ability of the Government to ensure their tooling meets chain of custody preserving standards Etc...
As usual, not a lawyer, just read a book on legal research and reasoning once.