Trump did this to himself. He did not listen to his advisors. If Trump had followed Obama's order and then adding any additional vetting to it he would not have this problem-- he would not be stuck in the courts. Obama's approach was also better besides being legal. Under Obama's criteria it would not matter where this guy came it could be London, Canada, or anywhere-- the focus would be on what this guy has done and where he has been traveling, looking for evidence of terrorist training in countries like Libya (Obama had a check list of 7 nations with extensive terrorist training programs and Libya was on the list).