The Secretary of a military department may develop, or authorize the development of, any geothermal energy resource within lands under the Secretary’s jurisdiction, including public lands, for the use or benefit of the Department of Defense if that development is in the public interest, as determined by the Secretary concerned, and will not deter commercial development and use of other portions of such resource if offered for leasing.