The President is free to close the Border for national security. National security is his #1 responsibility. Regardless of the 9th or any other Court.
“Our southern ally”
My spinach burrito it is. The Texas War for Independence taught us once for all that Mexico is an alien hostile society.