If the lands which are subject to an application are wholly or partially under the administration of any department or agency other than the Department of the Interior, the Secretary shall make or modify a withdrawal only with the consent of the head of the department or agency concerned, except in the case of an emergency withdrawal.