; and (B) the United States shall have the right of immediate entry onto the Parcel. (2) Determination A determination by the Secretary under this subsection shall be made— (A) on the record; and (B) after an opportunity for a hearing. (d) Costs of conveyance (1) Payment by Foundation (A) In general Except as provided in subparagraph (B), as a condition of the conveyance under this section, the Foundation shall pay, or (if applicable) reimburse the Secretary for, the costs of the conveyance, including any— (i) survey costs; (ii) costs for environmental documentation; and (iii) other related administrative costs. (B) Exception The Secretary shall pay the costs of any environmental remediation of the Parcel. (C) Refund of excess The Secretary shall refund to the Foundation, if applicable, an amount equal to the difference between— (i) the amounts collected by the Secretary from the Foundation in advance of the incurrence by the Secretary of a cost under subparagraph (A); and (ii) the amount of such a cost actually incurred by the Secretary. (2) Treatment of amounts received Any amounts received as reimbursement under paragraph (1)(A) shall be— (A) credited to the fund or account that was used by the Secretary to cover the applicable costs of the conveyance under this section; (B) merged with the amounts in that fund or account; and (C) available for the same purposes, and subject to the same conditions and limitations, as amounts in the fund or account.