That's what happens when you refuse to comply with a court order. You can question it, you can get a habeas corpus to prevent you from being arrested in the meantime, but the question will be eventually settled and the company will have to comply if the order is found legal.