Can some Obama appointed judge stop the president from using the military to build the wall?
Count on one to try... but ultimately fail.
The President, CIC, is responsible for national security. The wall fits securely under "National Security".