> Being unable to comply is not a valid legal defense.
Sure it is. Lawyers even have a pithy Latin maxim about it: lex non cogit ad impossibilia.
If you could stop doing that thing, it isn't an impossibility under lex non cogit ad impossibilia.
If you could stop doing that thing, it isn't an impossibility under lex non cogit ad impossibilia.