A foreign national receiving instruction under this section is entitled to the same pay, allowances, and emoluments, to be paid from the same appropriations, as a cadet appointed pursuant to
section 1922 of this title. A foreign national may receive instruction under this section only if his country agrees in advance to reimburse the United States, at a rate determined by the Secretary, for the cost of providing such instruction, including pay, allowances, and emoluments, unless a waiver therefrom has been granted to that country by the Secretary. Funds received by the Secretary for this purpose shall be credited to the appropriations bearing the cost thereof, and may be apportioned between fiscal years.