How is that ruling helping him on the border?
It ain’t!
Well, that may be, but the Supreme Court made it abundantly clear last June that the President has broad and sweeping powers over all matters of immigration.
It's up to each president to choose whether to use that power or not.