There are many ways around the law. It happens everyday: "oopsie your team has to work on something else, double oopsie you're no working on AI anymore you'll just work on our CSV parser, that's were the money is these days. Ah ? What are you saying ? You don't want to work on that ? Well feel free to resign, we'll sign you a $200k check if you forget about it", &c.