The operative clause there is “at war”, whereas the Congress has not declared war for 76 years now. However, there would seem to be something in the US Code that would preclude a former government official from waging a shadow campaign that undermines the current administration, using the weight of that former office to give his efforts credibility with an adversarial element.
The phrase I believe is National State of Emergency.