If the mandate of the President expires during the state of war or the state of emergency, the mandate shall be extended for maximum 90 days after the end of circumstances that have caused that state.