Priority in multiple claims to refunds allowed to be setoff under the provisions of this article shall be in the order in time which a claimant agency has filed a written notice with the Department of its intention to effect collection through setoff under this article. However, claims filed by any court or administrative unit of state government shall have priority over claims filed by any county, city or town; and claims filed by any court, administrative unit of state government, county, city or town shall have priority over claims filed by the Internal Revenue Service. Notwithstanding the priority set forth above according to time of filing, the Department has priority over all other claimant agencies for collection by setoff whenever it is a competing agency for a refund.
Va. Code § 58.1-530