Legal challenges to presidential executive orders are almost always "an automatic win" for the government, especially when they invoke national-security concerns, said William Stock, the president of the American Immigration Lawyers Association.