A judgment, award, or compromise settlement against the United States under this chapter (including any interest and costs) shall be paid—
(1)
under section
1304 of title
31, if it arises out of an action commenced in a district court of the United States (or any appeal therefrom); or
(2)
out of amounts otherwise appropriated or available to the office involved, if it arises out of an appeal from an administrative proceeding under chapter
5 of title
3.