may prescribe, prohibit any transactions in foreign exchange that are subject to the jurisdiction of the United States and in which the government of the foreign country has any interest. (2) The President shall, pursuant to such regulations as the President may prescribe, prohibit any transfers of credit or payments between one or more financial institutions or by, through, or to any financial institution, to the extent that such transfers or payments are subject to the jurisdiction of the United States and involve any interest of the government of the foreign country. (d) Exceptions (1) Military use exception The President shall not be required to impose sanctions with respect to the government of a foreign country pursuant to subsection (b)— (A) with respect to materials intended to be used by military or civilian personnel of the Armed Forces of the United States at military facilities in the country