The media would have us believe that Trump works and makes decisions in a vacuum. This is not reality.
This program was devised and implemented by a team of top lawyers and advisors. There is no doubt that it is legally bulletproof, and was rolled out with every contingency in consideration.