There's a long history of different presidents doing exactly that, ignoring court rulings all up and down the judicial process.
I don't know how many rulings I've read over the years where judges just shrug and said, well, I've few options beside the opinion.
That's why courts are said to be the practically weakest of the branches. They can rule, but they lack much power of enforcement of their rulings.