X will comply with government requests, though it has also vowed to challenge the rulings.