A Judge is not a end all be all god. They are subject to appeal. This merely moves the battle out of this jackasses court.
And how long will that take? Does this ruling hamper progress on the wall?