; or (B) if the application of such sanctions would prevent the United States from meeting the terms of any status of forces agreement to which the United States is a party. (2) Humanitarian exception The following activities shall be exempt from sanctions under this section: (A) The conduct or facilitation of a transaction for the sale of agricultural commodities, food, medicine, or medical devices to a foreign government described in subsection (a) that is not otherwise subject to the export control laws of the United States. (B) The provision of humanitarian assistance to a foreign government described in subsection(a), including engaging in a financial transaction relating to humanitarian assistance or for humanitarian purposes or transporting goods or services that are necessary to carry out operations relating to humanitarian assistance or humanitarian purposes. (e) Waiver (1) In general The President may waive, on a case-by-case basis and for a period of not more than 180 days, a requirement under subsection (b) or (c) to impose or maintain sanctions with respect to a foreign government identified pursuant to subparagraph (A) or (B) of subsection (a)(1) if the President— (A) determines that the waiver is in the national security interest of the United States; and (B) not less than 30 days before the waiver takes effect, submits to the appropriate congressional committees a report on the waiver and the justification for the waiver. (2) Renewal of waiver The President may, on a case-by-case basis, renew a waiver under paragraph (1) for additional periods of not more than 180 days if the President— (A) determines that the renewal of the waiver is in the national security interest of the United States