Upon declaring a national emergency, Trump would face the tricky proposition of justifying such a move in legal terms