Notwithstanding
section 1342 of title 31, the Secretary of Defense may accept the gratuitous services of an officer of a reserve component (other than an officer of the Army National Guard of the United States or the Air National Guard of the United States) in consultation upon matters relating to the armed forces.