; (D) an agency, instrumentality, or other entity operated or controlled by a covered sector, entity, or individual described in subparagraph (A); (E) an entity or individual— (i) for the purpose of avoiding a financial transaction with, or the transfer of funds to, an entity or individual specified in any of subparagraphs (A) through (D); or (ii) for the benefit of an entity or individual specified in any of subparagraphs (A) through (D); (F) a foreign person that is a military contractor, mercenary, or a paramilitary force knowingly operating in a military, security, or intelligence capacity for or on behalf of the Government of Cuba; or (G) a foreign person subject to sanctions pursuant to the International Emergency Economic Powers Act ( 50 U.S.C. 1701 et seq. ) or the Trading with the Enemy Act ( 50 U.S.C. 4301 et seq. ) with respect to Cuba or any other provision of law that imposes sanctions or other economic restrictions or limitations with respect to Cuba. (3) Exceptions The following activities engaged in by a foreign person shall not be considered to be activities described in paragraph (2) for purposes of imposing sanctions described in subsection (b) with respect to the person: (A) The sale of agricultural commodities, medicines, and medical devices sold to Cuba consistent with the Trade Sanctions Reform and Export Enhancement Act of 2000 ( 22 U.S.C. 7201 et seq. ). (B) A remittance to an immediate family member, other than— (i) an individual who is a high-level member of the Cuban Communist Party