(2) An officer of the Army National Guard of the United States or the Air National Guard of the United States is not relieved from duty in the National Guard of his State, or of the Commonwealth of Puerto Rico, Guam, or the Virgin Islands or the District of Columbia, under paragraph (1) while serving on active duty in command of a National Guard unit if
(A) the President authorizes such service in both duty statuses; and
(B) the Governor of his State, or of the Commonwealth of Puerto Rico, Guam, or the Virgin Islands, or the commanding general of the District of Columbia National Guard, as the case may be, consents to such service in both duty statuses.