Don't do it. Perhaps obfuscate and delay as much as possible that you are not actually doing it. Perhaps get fired. Then go to court for wrongful termination (this would depend on the order being unlawful)?
I'm also not sure how to just... not fire people. Sure, you can delay it a week or two. Okay. Then what? Get fired for non-compliance? That seems about as effective of a tactic as quitting is.