text: The president, however, does have emergency authority that he could use under federal law to declare an emergency that threatens national security and use the military to go in to do those other functions as well.