An employee detailed under subsection (b) of this section is deemed, for the purpose of preserving his allowances, privileges, rights, seniority, and other benefits, an employee of the agency from which detailed, and he is entitled to pay, allowances, and benefits from funds available to that agency. The authorization and payment of these allowances and other benefits from appropriations available therefor is deemed to comply with
section 5536 of this title.