An agency or instrumentality of the Department of Defense that supports the operation of the exchange system, or the operation of a morale, welfare, and recreation system, of the Department of Defense may enter into a contract or other agreement with another element of the Department of Defense or with another Federal department, agency, or instrumentality—

(1) to provide or obtain goods and services beneficial to the efficient management and operation of the exchange system or that morale, welfare, and recreation system; or

(2) to provide or obtain food services beneficial to the efficient management and operation of the dining facilities on military installations offering food services to members of the armed forces.