Exceptions— The prohibition under subsection (a) shall not apply to a use of military force that is consistent with section 2(c) of the War Powers Resolution (
50 U.S.C. 1541(c)) or that may be necessary to defend the United States or an ally or partner of the United States from imminent attack, provided that the President complies fully with the requirements of section 5(b) of the War Powers Resolution (
50 U.S.C. 1544(b)) with respect to any such use of military force.