(a) In the case of a Federal employee whose Federal service and Federal wages are assigned under section
8504 of this title to a State which does not have an agreement with the Secretary of Labor, the Secretary, under regulations prescribed by him, shall, on the filing by the Federal employee of a claim for compensation under this subsection, pay compensation to him in the same amount, on the same terms, and subject to the same conditions as would be paid to him under the unemployment compensation law of the State if his Federal service and Federal wages had been included as employment and wages under that State law. However, if the Federal employee, without regard to his Federal service and Federal wages, has employment or wages sufficient to qualify for compensation during the benefit year under that State law, then payments of compensation under this subsection may be made only on the basis of his Federal service and Federal wages.