The key to it is a major piece of legislation passed in 2017 that essentially limited President Donald Trump’s control over the foreign sanctions policy, partially transferring it to Congress.