One of the dirty secrets about Western trade with enemy states like Iran is that the Western companies trading with them may also wittingly or unwittingly serve as espionage assets for their home country or for other Western countries.
Consider the Stuxnet computer virus which reportedly caused great harm to at least one and perhaps multiple nuclear installations in Iran. The virus penetrated the Iranian systems through Siemens industrial control systems. In recent years, Siemens was subject to widespread criticism from US policy makers for its massive trade with Iran. And this criticism was justified. But it is important to admit that if Siemens hadn't been trading with Iran, whomever developed the Stuxnet virus would have had to find another, probably less accessible platform to penetrate Iran's computer systems.