Why do you think courts are sacred?
They're made up with fallible human beings who have their own political agendas. I'm not saying they should be "ignored" but let's not pretend all rulings Trump doesn't like are automatically the correct ruling.