You are wrong.

The US clearly separates the executive branch from the judicial branch, for just this purpose.  Just because Trump campaigned on a promise and just because he was elected, does not mean that he can circumvent the US laws.   Note the plural; there are thousands of US laws that are interwoven together, not just one law that can be created or altered to give Trump what he wants.  And then there is past precedent to consider.

I doubt that Trump has the gumption to press this to the US Supreme Court, but if he does, even though the balance might be in his favour, they can't judge against law or precedent.  Remember that the fist judge to ban the first law in Washington was a hard core Republican judge. 

You have to get past the idea that electing Trump means that the entire country has to bow to his election promises.  Trump may not know how the US works, but the judges do.