Even when asked to do something illegal, your options are to quit or to be in big trouble one way or another.
If you do the thing then you're a criminal. If you don't do it, your employer will still do everything they can to make your life hell, such as illegally firing you for insubordination to an illegal order - you might get your backpay in court if you're lucky later, but you're never getting your job back.