You are bound to obey the legal orders/directions of your employer.
If you deem them to be illegal - the onus is on you to prove that, in a court of law, whilst you are unemployed because the employer sacked you for disobeying their instructions/orders
It's all cool to be on the internet saying things like that, but when it comes to reality, I DOUBT you would do anything other than acquiesce.