If Trump declared an emergency at the border, he could claim authority to use military construction funds to pay for a border barrier, a possibility his advisors have discussed. He would face legal challenges, and might lose ultimately, but in the meantime, he could sign the bills to reopen government agencies without going back on his promise to build a wall.
Source: latimes.com – Los Angeles Times