Then DO SOMETHING about it, to get things back under control.
MILITARIZE the border with regular Army troops, by the thousands.
CLOSE entry points until control can be obtained.
REPEL border incursions with whatever force is required, INCLUDING deadly force.
GET UNDERWAY with the border barrier construction.
Worry about the implications with Congress and the courts later.
Gee, that was easy.