The office of any official of the State of Alabama or of any county or municipality of the State of Alabama who has heretofore entered or who shall hereafter enter the active military service of the United States, whether voluntarily or as a result of being called, drafted, or requested to do so or not, at a time when there is an existing state of war or military conflict involving the United States of America, or when called into active military service on the account of any need for military presence in response to domestic or foreign terrorism, the need for homeland security, or peacekeeping missions involving the United States, or when a state of national emergency has been declared to exist by the President of the United States, shall not be deemed vacated by reason of the service, nor shall the service be deemed an acceptance of or the holding of an office of profit under the United States within the purview of Section 280 of the Alabama Constitution of 1901.