Here's a case where a guys boss instructs him to write code that lets the company cheat emissions tests and to keep quiet about it. I wonder if he's thought that it would have been far better to have refused, even if it meant losing his job.
Obviously he still has a boss, but I doubt the boss outright told him to cheat. Smart companies don't break the law that way. They just give their people goals that can't be met legally, while wink wink telling them that legal compliance is important, and let them figure out how to reconcile it.
Fuck the judicial system in the US.
"I'll only break your hand instead of cutting it off" doesn't mean you're getting a good deal.