If any funds appropriated to carry out any applicable program are not obligated pursuant to a spending plan submitted in accordance with section
1341
(a) of title
31 and become available for obligation after the institution of a judicial proceeding seeking the release of such funds, then such funds shall be available for obligation and expenditure until the end of the fiscal year which begins after the termination of such judicial proceeding.