Full opinion text
ORDER SUKO, District Judge. BEFORE THE COURT is Intervenors’ Fidelity and Deposit Company of Maryland and American Guaranty & Liability Insurance Company’s [Intervenors] Motion for Declaratory Judgment, filed October 19, 2004 (Ct.Ree.20); Plaintiff Dunn and Black, P.S.’s [law firm] Motion for Summary Judgment (Ct.Ree.28), filed November 2, 2004; and Intervenors’ Alternative Motion For Stay of Plaintiffs Motion For Summary Judgment under Fed. R.Civ.P. 56(f) (Ct.Rec.40), filed November 16, 2004. These motions were heard with oral argument on December 20, 2004, at which time the court requested supplemental briefing on jurisdiction and lien priority issues. I. BACKGROUND FACTS AND SUMMARY OF THE PARTIES’ ARGUMENTS On June 20, 2004, plaintiff law firm, Dunn & Black, brought a complaint in this court for declaratory judgment against the United States and plaintiffs former client Environmental Reclamation, Inc. [ERI], the non-participating defendant construction company. Plaintiff requested this court to declare that its fees and costs of $361,037.20 are reasonable for the legal services rendered and that it was entitled to assert an attorney’s fee lien. First Amended Complaint, Prayer for Relief. Further plaintiff requested that the court declare its attorney’s fee lien superior to all subsequent liens, claims, interest in and to the judgment in the matter of Environmental Reclamation, Inc. v. United States, case number 02-5C, before the U.S. Court of Federal Claims [Court of Claims litigation]. Id. Alternatively, plaintiff requested that this court declare that the United States’ setoff constitutes unjust enrichment without fairly compensating Dunn & Black for its services in creating the judgment fund, which reasonable amount is $361,037.20. Id. Additionally, plaintiff requested this court declare that the United States’ setoff would be a violation of due process and plaintiff be paid $361,037.20. On September 16, 2004, the court allowed intervenors, judgment creditors of ERI, to intervene. Ct. Rec. 19. The matter before the court on cross motions for declaratory judgment and summary judgment began as a contest of liens: an attorneys’ lien for services rendered in winning the disputed settlement/judgment fund against the government versus liens by the intervenors versus IRS liens on the judgment fund based on taxes owed by the law firm’s former client ERI. There are combinations of four distinct theories set forth by the parties for this court to consider in its determination of the destiny of the Judgment Fund: lien priority, equitable subrogation, equity, and set-off. On July 24, 1997, ERI executed an Indemnity Agreement agreeing to indemnify, save, and hold harmless the intervenors as sureties for its execution or procurement of bonds or undertakings on behalf of ERI as the principal. Ferguson Aff., ¶ 4. On September 29, 1998, ERI executed a second Indemnity Agreement agreeing to indemnify, save, and hold harmless the intervenors as sureties for its execution or procurement of bonds or undertakings on behalf of ERI as the principal. Ferguson Aff., ¶ 5. On March 11, 1999, ERI and Flying Eagle Corporation executed an Application for Performance and Payment Bond and Indemnity Agreement with the intervenors as the surety. Ferguson Aff., ¶ 8. Flying Eagle Corporation (a dissolved corporation) and ERI jointly, severally, and unconditionally agreed to indemnify and reimburse intervenors for said Payment and Performance Bond and reimburse interve-nors for and against any loss in connection with said Bond. Id. On July 8, 1999, the Western Federal Lands Highway Division of the Federal Highway Administration [FHWA] awarded a contract to ERI in the amount of $3,499,464.50. Points Aff., Exh. D. The overall purpose of the contract was to rebuild Forest Development Road # 340 in the Payette National Forest near Warren, Idaho. Id. The project involved rebuilding four bridges, pioneering a new alignment for the road across a steep hillside, and other miscellaneous work. Id. ERI began work on July 22, 1999. Id. ERI’s original completion date was October 12, 2000. Id. This date was later extended to July 9, 2001. Id. On August 18, 1999, ERI executed a third Indemnity Agreement agreeing to indemnify, save, and hold harmless the intervenors as surety for its execution or procurement of bonds or undertakings on behalf of ERI as the principal. Ferguson Aff., ¶ 6. In the year 2000, ERI retained the plaintiff law firm to advise it regarding a road project called the Warren Profile Gap Road Project [Warren Project] in South Central Idaho for FHWA. Plaintiffs’ SOP, ¶ 1. The government was refusing to grant extensions of time and increases to ERI’s contract amount. Id. At the time ERI engaged Dunn & Black to advise it on the Warren Project, Dunn & Black had an ongoing client relationship with ERI and was representing ERI on several other matters at an hourly rate. Id., ¶ 2. On January 4, 2001, the contracting officer for the government issued a termination for default to ERI for the Warren Project. Points Aff., Exh. D. According to Dunn & Black, the alleged wrongful termination of ERI by the government caused tremendous financial stress on ERI, including ERI’s inability to pay taxes. Plaintiffs’ SOF, ¶5. On January 3, 2002, plaintiff filed an action in the United States Federal Court of Claims on behalf of ERI to recover monetary damages for alleged wrongful termination in the amount of $1,724,295.98 against the FHWA, a U.S. Department of Transportation organization. [Court of Claims litigation]. Plaintiffs’ SOF, ¶ 3, Aff. of M. Points, Exh. D. In the Court of Claims litigation, ERI also requested that the termination for default be converted into a termination for convenience. Id. The Court of Claims litigation presented complex issues involving scheduling, accounting, rock geology and blasting. Plaintiffs’ SOF, ¶ 3. The United States asserted a claim for reprocurement costs in the amount of $948,168.82. Id. Dunn & Black engaged and paid experts to assist in proving ERI’s case and defending the government’s claim. Id. On November 20, 2002, Dunn & Black amended its existing hourly fee agreement it had with ERI, negotiated and entered into a contingency fee agreement due to the high balance of accounts receivable carried on the Warren Project and other matters. Plaintiffs’ SOF, ¶4. At this time, ERI was indebted to Dunn & Black in the amount of $137,682.33 for past due legal services rendered on the Warren Project as well as on other matters. Id. The contingency fee agreement stated that Dunn & Black “shall be entitled to the first $137,682.33 of any recovery from any claims related to the project.” Id. The agreement further stated that “Dunn & Black shall be compensated for its further services relating to the [Warren] Project in the amount of 50% of any remaining recovery and that ERI was responsible for all litigation costs.” Id. On November 14, 2003, Fidelity & Deposit Company of Maryland [F & D], et al. (intervenors in this action) brought an action against ERI in the United States District Court, District of Idaho, Civ. No. 03-497-EJL, to recover for the amount paid out against the ERI bonds and related collection expenses, including Bond # SUR-3596528 for the Warren Project. F & D filed a motion for summary judgment for the cumulative total of $931,860.84 claimed to be owed by ERI to F & D. (Ct.Rec.14, Civ. No. 03-497-EJL). ERI did not respond to the dispositive motion. On July 29, 2004, Judge Edward Lodge entered judgment in favor of the surety companies (intervenors in this action) against ERI for $931,860. (Ct. Ree.22, Civ. No. 03-497-EJL). On March 30, 2004, a “Stipulation For Entry of Judgment” was entered in the Court of Claims litigation. Points Aff., Exh. D. The stipulation was entered to settle the claims asserted in ERI’s complaint and to permit entry of final judgment upon those claims without constituting an admission of liability upon the part of the government. Id. ERI offered to settle all of its claims in exchange for payment by the United States of $450,000 (inclusive of interest, costs, expenses, and attorney fees) and the government’s agreement to convert the termination for default into a termination for the convenience of the Government. Id. Subsequent to that stipulation, a $450,000 judgment was entered against the United States on April 5, 2004 [hereinafter referred to as the judgment fund]. Id. This $450,000 judgment fund lies at the vortex of this litigation. According to Dunn & Black, ERI was required to pay the law firm $361,037.20 from the judgment fund pursuant to the contingency fee agreement. Plaintiffs SOF, ¶ 6. The Internal Revenue Service [IRS], upon learning of the settlement, asked the government to stop payment of the judgment so that the IRS could offset certain federal tax liabilities of ERI against the judgment. On May 5, 2004, plaintiff was informed by a government attorney that the IRS would be making claims to the settlement funds as an intended offset of the entire amount of the judgment based on an unrelated federal tax debt purportedly owed by ERI. Plaintiffs’ SOF, ¶ 7. In its answer to the plaintiffs complaint in the instant action, the government (IRS) claims to be owed $987,839.84 as of April 30, 2004. Answer, ¶ 20. The Treasury Department is now withholding the judgment fund based on the following tax liens that the IRS filed against ERI: August 29, 2003 $ 3,969.36 November 19, 2003 $ 64,178.03 March 29, 2004 $419,573.16 April 7, 2004 $412.148.54 $899,869.09 Points Affidavit, ¶ 4. On May 5, 2004, plaintiff, after being informed that the IRS would be making claims, served the government with a Notice of Attorney’s Lien. Plaintiffs’ SOF, ¶ 8. On May 7, 2004, ERI terminated its attorney-client relationship with plaintiff law firm. ERI has not paid any of the amounts owing to plaintiff. Id., ¶ 13. On June 3, 2004, the government filed a civil action in the United States District Court for the District of Idaho (Case No. 2:04-ev-279-EJL) to reduce ERI’s federal tax assessments to judgment. Ct. Rec. 1, Case No. 2:04-cv-279-EJL. Originally the government demanded $988,000 in unpaid tax assessments. Id. On September 2, 2004 the government amended its complaint, demanding only $567,304.85 for unpaid federal employment and unemployment tax liabilities plus interest and other statutory additions. Ct. Rec. 6, Case No. 2:04-cv-279-EJL. On November 29, 2004, the Idaho district court entered judgment in the amount of $609,079.96 (with statutory additions and interest) upon the government’s motion for default judgment against ERI. Ct. Rec. 15, Case No. 2:04-cv-279-EJL; Au-chterlonie Decl., Exh. 1. Intervenors state that ERI owes them $931,930.61 plus interest accruing for all projects having the same principal (ERI) and the same obligee/owner (the United States), and which amount has been reduced to a judgment rendered in civil action, Civ. No. 03-497-EJL. Bonds, Bond Payments, Related Bond Expenses ERI entered into the following bonds as principal in which the intervenors are sureties: SUR-2887088 Rio Pojaaque 11/20/98 $2,483,840.59 SUR-2887092 DEQ Worland 02/24/99 $1,779,219.53 SUR-2887095 DOR Worland 04/20/99 $71,168.78 SUR-3596528 Warren Project 07/12/99 $1,272,785.80 SUR-3596532 Burgdorf Bridge 09/17/99 $29,150 SUR-3596536 Barrick Mine 06/01/00 $800,000 SUR-3631158 Barrick Goldstrike 06/27/00 $60,000 SUR-3631159 Goat Creek 07/13/00 $633,595 Ferguson Aff., ¶¶ 9-17 [hereinafter collectively referred to as “Issued Bonds”]. Intervenors state they have made payments of $1,467,455.03 pursuant to the terms of the Issued Bonds and have incurred expenses of not less than $122,800 associated with the collection of all unpaid balances owed to intervenors by ERI. Ferguson Aff., ¶¶ 18,19. Intervenors’ payments of amounts owing to ERI’s material suppliers and subcontractors used and any expense payments made to legal and engineering firms on various bond projects with ERI are as follows: Bond Number Payee Date Paid Amount 37,646.31 SUR-2887088 J.R. Striping 2/21/01 Valley Fence 2/15/01 Montoya Constr. 6/22/01 to OO t> CO H 05 lO l> OO OO U5 050 rH t — I •Z/V \Sw ' C/ J SUR-2887092 SUR-2887095 Product Level Martin Constr. R.H. Grover Wyoming State 3/8/01 4/10/01 10/4/02 11/6/02 $ 95,534.55 $ 27,500 $ 212,079.74 $ 71,168.78 $ 406,283.07 $ 73,420.44 Legal Expense various Travel Expenses Oi 00 to to ^ lO rh CO © t-H ÍNÍ £- $ 122,405.23 SUR-3596528 SUR-3596527 MSE-HKM, Inc. 2/15/01 Neff Rental 2/15/01 Materials Testing 2/15/01 Precision Sawdust 2/16/01 Heavy Equipment 5/4/01 Quattro Envir. 5/4/01 ICM/Great Northern 5/15/01 couiooco cm o CiioqOH^o co h d o ol lo H OO O (M H H O CO tO^ T — ^ co to^ OÍ" i> tO r-T OÍ tOi HlO(M 1-1 f» r\ a i* r-. « nr*. *1 •j/ * j j Law Firm/Travel Various $ 97,876.08 SUR-3596532 Crane West 5/28/02 $ 10,125.00 SUR-3596536 Komatso Equip. * * $ 800,000 SUR-3631158 Familliam NW 2/9/01 $ 58,903.76 SUR-3631159 ICM/Great Northern 5/1/01 $ 21,420.00 SUR-3631157 ICM/Great Northern 5/1/01 $ 4,758.00 SUR-3596534 Missouri Dept. Rev. 6/11/03 $ 3,835.79 SUR-2887086 Star Rentals 9/3/03 $ 2,166.45 Grand Total $1,638,840.06 As a result of the government’s issuance of termination for default on January 4, 2001 with respect to the Warren Project, from Feb 15, 2001 through May 15, 2001, intervenors incurred losses totaling $220,281.31 under bond numbers SUR-3596528 and SUR-3596527. ' (Suppl. Ferguson Aff., Exh. A). As a result of ERI’s financial difficulties encountered on the Warren Project, ERI evidently defaulted in its contractual obligation to pay its subcontractors and material suppliers on other projects as well. Intervenors consequently received notices of claims against the payment bonds. After investigating and verifying the validity of the claims, intervenors satisfied the obligations of its payment bonds by paying the claims of the subcontractors, laborers and material suppliers and legal/engineering expenses between February 2, 2001 and April 21, 2004 in sums totaling $1,638,840.06 under its bond numbers set forth in the Supplemental Ferguson Affidavit, Exh. A. Intervenors further provide dates in which they perfected a security interest in ERI’s contract rights prior to the date that plaintiffs attorney lien first arose, giving intervenors a priority right to the Judgment fund: 07/24/97 ERI granted a security interest to intervenors in all rights under the contracts mentioned in the Bonds. [July 1997 Secui-ity Agreement] 03/02/01 A UCC-1 Financing Statement filed with Idaho Sec. Of State’s Office, perfecting interve-nors security interest in the Collateral. 08/18/99 ERI granted a security interest to intervenors in the Collateral to secure and hold harmless intervenors against any and all liabilities [August 1999 Security Agreement] 03/06/01 A UCC-1 Financing Statement filed with Idaho Sec. Of State’s Office, perfecting interve-nors security intez'est in the Collateral. 09/29/98 ERI granted a secui-ity interest to intervenors in the Collateral to secure and hold harmless intervenors against any and all liabilities [September 1998 Security Agreement] 03/02/01 A UCC-1 Financing Statement filed with Idaho Sec. Of State’s Office, perfecting interve-nors secui-ity interest in the Collateral. Intervenors state that ERI was obligated to indemnify and hold intervenors harmless for any payments made by inter-venors under the terms of the Issued Bonds, which were issued as a means of satisfying obligations owed by ERI to its creditors. Ferguson Aff., ¶¶ 20,22. Although intervenors have recovered the amount of $221,061.66 in retained contract funds in the Wyoming Department of Environmental Quality Worland Project (Bond No. SUR-2887092), intervenors state that the amount currently due inter-venors by ERI (as of October 10, 2004) is $931,930.61, for all bond payments and expenses incurred by intervenors in connection with all bonds issued to ERI. Ferguson Aff., ¶¶ 21, 22. A. Intervenors’ Theory For Recovery of $450,000 Intervenors are surety insurance companies. As a surety, intervenors issued several performance and payment bonds on behalf of its principal, a construction company, ERI. Intervenors assert that because all issued bonds were issued in favor of ERI by July of 2000 and ERI owes them more than $450,000, intervenors’ claim to the entire Judgment Fund has priority over any claim of plaintiff or any claim of the United States under the law of equitable subrogation. Intervenors argue that the date of priority of their claim is based on the dates the bonds were issued. The bond for the Warren Project was issued on July 12,1999. Further, relying on Transamerica Ins. Co. v. U.S., 989 F.2d 1188 (Fed.Cir.1993), intervenors argue that when a surety has bonded multiple projects with the same principal and obli-gee, the surety may use the default on one project to trigger its equitable subrogation rights to undisbursed construction funds on other bonded projects. Because ERI owes intervenors $931,930.61 plus interest for all ERI bonded projects with the United States, the entire judgment amount of $450,000 should be awarded to intervenors under the law of equitable subrogation based on their dates of priority. Intervenors further argue that they have a valid and prior perfected security interest in the judgment fund over any and all lien claimants or secured parties pursuant to Idaho Code § 28-9-308; § 28-9-322. Because Dunn & Black did not commence this suit until January 3, 2002, in-tervenors’ security interest was perfected prior to the commencement and perfection of Dunn & Black’s attorney fee lien. In response to United States v. Munsey Trust Co. of Wash. D.C., 332 U.S. 234, 108 Ct.Cl. 765, 67 S.Ct. 1599, 91 L.Ed. 2022 (1947) case, raised by both plaintiff and the Unites States, intervenors reply that although the Munsey Trust case does establish that the government has a right to set off claims against creditors, “[t]he surety who undertakes to complete the project is entitled to the funds in the hands of the government not as a creditor and subject to setoff, but as a subrogee having the same rights to the funds as the creditor.” Trinity Universal Ins. Co. v. United States, 382 F.2d 317 (5th Cir.1967). Intervenors also point out that Pearlman v. Reliance Ins. Co., 371 U.S. 132, 83 S.Ct. 232, 9 L.Ed.2d 190 (1962), cited by Plaintiff, reaffirmed that sureties who complete the performance of a contract or the sureties who pay laborers and materi-almen have an equitable right of subrogation to all those who have a claim in the subject contract. In conclusion, the intervenors’ position that the entire judgment fund should go to Intervenors is based on these arguments: 1) the plain and unambiguous language of the indemnity agreements between ERI and Intervenors; 2) priority dating back to the issuance of bonds and U.C.C. filings; 3) the special treatment of sureties; and 4) the amount ERI owes intervenors. B. Plaintiff Law Firm’s Theory For Recovery of $361,037.20 Dunn & Black argues that it is entitled to an adjudication of its fees and costs which should be granted as a matter of law over ERI in the amount of $361,037.20. The breakdown of that amount is as follows: $187,682.33 ERI’s debt pre-dating the Contingent Fee Agreement $156,158.84 Fee on Warren Project $ 67,196.03 Cost on the Warren Project matter $361,037.20 Plaintiff argues that at the moment it filed the lawsuit on ERI’s behalf in the Court of Claims litigation on January 3, 2002, a lien for attorney’s fees attached to the cause of action. Also, when that lawsuit was filed, the parties to the present lawsuit had notice of plaintiffs lien, which qualifies as constructive notice sufficient to impose an attorney’s lien under Idaho law. At the time of the Court of Claims litigation, plaintiff states there were no outstanding IRS tax liens filed against ERI, as all tax liens were filed after January 2002. Therefore, plaintiffs lien for attorney fees attached and was choate prior to any federal tax lien. Plaintiff argues that choate state-created liens take priority over later-filed federal tax liens. The United States, plaintiff asserts, is not entitled to offset the entire amount of the judgment because Dunn & Black has a vested property interest in the judgment, under Banaitis v. IRS, 340 F.3d 1074 (9th Cir.2003). Plaintiff further argues that the United States is precluded from offsetting plaintiff S fee because there is no mutuality of debt. Mutuality requires that the judgment creditor be the same person the party owes the debt to be collected, and the government must be the same person to whom the debt is owed. Plaintiff argues the United States cannot set off ERI’s tax obligations against the amount of attorney’s fees owed to plaintiff as no mutuality of debt exists between plaintiff and the United States. Plaintiff asserts that the intervenors’ judgment lien did not attach until July 29, 2004. Pursuant to the first in time rule, plaintiffs attorney’s lien, which attached at the time it commenced the action on behalf of ERI on January 3, 2004, has priority over the intervenors’ judgment lien. Plaintiff additionally argues that public policy favors giving attorneys’ contractual liens for legal services priority over judgment creditors’ liens. Plaintiff cites Panghorn v. Carruthers, 97 Cal.App.4th 1039, 119 Cal.Rptr.2d 416 (2nd Dist.2002) and other cases to support its argument that the equities and public policy favor judgement to plaintiff law firm. Through its efforts, plaintiff points out that the United States or the intervenors will still receive $88,962.80 ($450,000— $361,037.20) if plaintiff receives the requested $361,037.20 that they otherwise would have had to collect from ERI at its own expense. In light of ERI’s financial troubles caused by the United States’ alleged breach of contract, Dunn & Black contends neither the intervenors nor the United States would have collected anything at all from ERI without the efforts of plaintiff. Therefore, equity demands that plaintiff be compensated for its services, ahead of the United States and the intervenors, because it was through plaintiffs efforts that such fund exists for anyone to vie for. C. United States’ Theory For Setoff of $450,000 The United States argues, at the outset, that this court does not have jurisdiction to provide relief sought by intervenors in excess of $10,000. The United States asserts that the Federal Court of Claims has exclusive jurisdiction over claims against the government exceeding $10,000, regardless of whether the claimant is seeking declaratory judgment. The United States urges this court to dismiss the intervenors’ claims. In the event jurisdiction is proper before this court, the United States argues that as to intervenors, the doctrine of equitable subrogation provides that a surety who pays the debt of another is entitled to all the rights of the person it paid to enforce its right to be reimbursed. Therefore, any subrogation right claimed here by interve-nors is dependent on who the intervenors paid and what rights that person(s) had. The United States argues intervenors have not provided this information and without it, the court cannot make any determination with respect to the validity or priority of any equitable subrogation rights claimed by the intervenors. The United States, citing United, States v. Munsey Trust Co. of Wash. D.C., 332 U.S. 234, 108 Ct.Cl. 765, 67 S.Ct. 1599, 91 L.Ed. 2022 (1947), next asserts that laborers and materialmen for whom the interve-nors claim subrogation rights, do not have enforceable rights against the United States for compensation. As to plaintiff, the government asserts that plaintiff’s claim to judgment proceeds is not superior to the United States’ right of setoff for ERI’s unpaid federal tax liabilities. The government argues that federal law determines the relative priority of a federal tax lien. Pursuant to 26 USC § 6323(b)(8), attorneys’ liens enjoy a su-perpriority to the extent that the attorney’s efforts creating the fund of settlement or judgment, would be recognized by local law, and the amount of the lien reflects the extent to which the attorney’s efforts reasonably contributed to the award. Although the government does not dispute that plaintiffs efforts created the judgment fund, it argues that the plaintiff has not shown it has perfected its lien under Idaho law. Citing Frazee v. Frazee, 104 Idaho 463, 660 P.2d 928 (1983), the government argues that as interpreted by Idaho courts and the Bankruptcy court, an attorney must perfect his or her lien by taking affirmative steps to reduce the lien to a judgment or order of the court. The United States argues that plaintiff has not shown it has perfected its lien and as a matter of law, even if it could show it perfected, plaintiff cannot enjoy priority over the government’s right of setoff under 26 U.S.C. § 6323(b)(8). This statute reads: Validity and priority against certain persons (b) Protection for certain interests even though notice filed. — Even though notice of a lien imposed by section 6321 has been filed, such lien shall not be valid— (8) Attorneys’ liens. — With respect to a judgment or other amount in settlement of a claim or of a cause of action, as against an attorney who, under local law, holds a lien upon or a contract enforceable against such judgment or amount, to the extent of his reasonable compensation for obtaining such judgment or procuring such settlement, except that this paragraph shall not apply to any judgment or amount in settlement of a claim or of a cause of action against the United States to the extent that the United States offsets such judgment or amount against any liability of the taxpayer to the United States, [emphasis added] The government argues that the judgment here at issue is against the United States and it intends to offset such judgment against ERI’s federal tax liability, therefore, plaintiff cannot under any set of circumstances enjoy priority over the United States’ claim of setoff. The government states the policy behind this rather harsh result is protection of the fisc. Next, the government points out that the $450,000 judgment entered in favor of ERI indicated that the total amount was “inclusive of interest, costs, expenses, and attorney fees” meaning that no specific amount was entered for attorney’s fees, and the judgment check could be made out only in the name of ERI. As such, the government argues, it owed this judgment to ERI and no none else, and it has the right to offset ERI’s unpaid federal tax liabilities against the amount it owes to ERI pursuant to the judgment. Thus, plaintiffs claims regarding mutuality of debts must fail. Even if such mutuality were lacking, the government states it has no effect on the government’s right of setoff. In its post-hearing briefing and presumably based on the conclusion of its civil action to reduce ERI’s tax assessments to judgment on November 24, 2004, the government’s argument shifted, in part, from common law right of setoff to that of a statutory setoff pursuant to 31 U.S.C. § 3728. The United States argues that 31 U.S.C. § 3728(a), (b), and (c) enable it to deduct ERI’s tax liability from the Claims Court judgment. Under 31 U.S.C. § 3728, “The Secretary of the Treasury shall withhold paying that part of a judgment against the United States ... that is equal to a debt the plaintiff owes the Government.” If the judgment creditor denies the debt or does not agree to the setoff, the Secretary of the Treasury is required to “withhold payment of an additional amount [to] cover legal costs of bringing a civil action for the debt.” 31 U.S.C. § 3728(b)(2)(A). If the government loses such a civil action, the Secretary of the Treasury must pay the judgment creditor the balance of the judgment plus interest of 6 percent for the time the money is withheld. 31 U.S.C. § 3728(c). The government asserts that although its right of setoff exists absent statutory authority, Congress has specifically provided by statute that the government must set off any judgment it owes against debts owed to it by its judgment creditor. The government argues that there is no question that the assessments made against ERI, having been reduced to judgment, classify as “debts” owed to the government within the meaning of 31 U.S.C. § 3728. Citing various non-Ninth Circuit case law, the government concludes there is no basis in law for the court to deny its setoff right under 31 U.S.C. § 3728. Finally, the government reiterates that the plaintiff did not have a perfected, choate lien under Idaho state law at the time the federal tax liens arose because the amount of the attorney’s lien could not be established until the judgment was entered in the Claim Court litigation on April 15[sic], 2004. As to intervenors, the government also argues in its post-hearing brief that intervenors’ interest in the judgment fund was not choate until April 15[sic], 2004. The government, at the close of briefing, requests the court to deny the pending motions and dismiss this case. III. STANDARDS OF LAW A. Jurisdiction Only the United States (IRS) argues that this court lacks jurisdiction to provide relief sought by intervenors in excess of $10,000. The IRS argues that the Federal Court of Claims has exclusive jurisdiction over claims against the government exceeding $10,000, regardless of whether the claimant is seeking declaratory judgment. IRS requests that intervenors’ claims be dismissed based on the contract between the government (FHWA) and ERI with respect to the Warren Profile Gap Road Project. Intervenors respond that they have not filed a claim against the government, nor are they asserting in this action that they have been damaged by any act of the government under a theory of contract or tort. Instead, intervenors are seeking a declaratory judgment establishing their priority rights and claim to the Judgment Fund, which is being held by the Treasury Department, a federal agency. Finally, intervenors conclude that their claims are not barred by sovereign immunity and the Tucker Act is inapplicable to the interve-nors’ claim as sureties. The court necessarily must deal with jurisdiction at this juncture. The United States’ initial position in this litigation was to assert “superior” liens for ERI’s unpaid taxes to the other parties’ liens. The government also argued a common law right to setoff as a counterclaim to plaintiffs complaint. Then, the government shifted the focus of its position to reliance on a federal statutory right of setoff under the Federal Offset Statute, 31 U.S.C. § 3728 to setoff ERI’s federal tax liabilities. Under 28 U.S.C. § 1346, district courts shall have original jurisdiction, concurrent with the United States Court of Federal Claims, for any civil action against the United States for the recovery of any internal-revenue tax alleged to have been illegally collected. In the present case, plaintiff, although not the taxpayer, has alleged that the government has illegally withheld the judgment fund based on a setoff for ERI’s federal tax liabilities. Section § 1346 reads: § 1346 United States as defendant (a) The district courts shall have original jurisdiction, concurrent with the United States Court of Federal Claims, of: (1) Any civil action against the United States for the recovery of any internal-revenue tax alleged to have been erroneously or illegally assessed or collected, or any penalty claimed to have been collected without authority or any sum alleged to have been excessive or in any manner wrongfully collected under the internal-revenue laws; As a general rule, the priority of competing liens against a taxpayer’s property, including tax liens, is governed by federal law. See Aquilino v. United States, 363 U.S. 509, 80 S.Ct. 1277, 4 L.Ed.2d 1365 (1960). Specifically, federal common law and the Federal Tax Lien Act of 1966, 26 U.S.C. §§ 6321-6326 (1976) govern the resolution of priorities among competing claims. See Rice Investment Co. v. United States, 625 F.2d 565 (5th Cir.1980). When priority of a federal tax lien is asserted against a state-created lien, state law determines the existence and characteristics of the state lien, but federal law sets the standards for priority. Federal law determines whether the status of “judgment lien creditor” within the meaning of § 6323(a)of the Internal Revenue Code was attained before the Notice of Tax Lien was filed. In re Dulaney, 29 B.R. 79, 81 (1982) (citations omitted). The question of the priority of the government’s common law setoff rights is a question of federal common law. “The right of set-off is within the equitable power of a court to offset mutual debts running between two parties.” Capuano v. U.S., 955 F.2d 1427, 1430 (11 th Cir.1992). In conclusion, the court is satisfied that jurisdiction is proper in this district court pursuant to 28 U.S.C. § 1346 for this civil action against the United States for a sum alleged to have been wrongfully collected under the internal-revenue laws. Here plaintiff alleges that the United States’ setoff of $450,000 for ERI’s tax liabilities would be a violation of due process and unjust enrichment. This statute, 28 U.S.C. § 1346, does not say that only the person against whom the tax is assessed may sue, but instead, uses broad language such as “any civil action against the United States;” “any sum alleged to have been excessive;” and “in any manner wrongfully collected.” B. Legal Standards For Summary and Declaratory Judgment Summary judgement applies to actions for declaratory judgment and is appropriate where “the pleadings ... together with the affidavits, if any, show that there is no genuine issue as to any material fact and that the moving party is entitled to judgment as a matter of law.” Anderson v. Liberty Lobby, Inc., 477 U.S. 242, 247, 106 S.Ct. 2505, 91 L.Ed.2d 202 (1986). Summary judgment may be entered “against a party who fails to make a showing sufficient to establish the existence of an element essential to that party’s case, and on which that party will bear the burden of proof at trial.” Celotex Corp. v. Catrett, 477 U.S. 317, 322, 106 S.Ct. 2548, 91 L.Ed.2d 265 (1986). Once the moving party properly supports its motion for summary judgment, the non-moving party must establish a genuine issue of material fact in order to preclude a grant of summary judgment. Matsushita Elec. Indus. Co. v. Zenith Radio Corp., 475 U.S. 574, 586, 106 S.Ct. 1348, 89 L.Ed.2d 538 (1986). “[Tjhe mere existence of some alleged factual dispute between the parties will not defeat an otherwise properly supported motion for summary judgment.” Anderson, 477 U.S. at 247-48, 106 S.Ct. .2505, 91 L.Ed.2d 202. In addition, “a complete failure of proof concerning an essential element of the non-moving party’s case necessarily renders all other facts immaterial.” Celotex, 477 U.S. at 323, 106 S.Ct. 2548, 91 L.Ed.2d 265. C. Government’s Right of Setoff Setoff differs from a lien, inasmuch as the former belongs exclusively to the remedy, and is merely a right to insist, if the party thinks proper to do so, when sued by his creditor, on a counter demand, which can only be enforced through the medium of judicial proceedings; whilst the latter is, in effect, a substitute for a suit. 1834, 2 Op.Atty.Gen. 663. See Blaok’s Law Dictionary 1372 (6th ed.1990) (defining “set-off’ as a “claim filed by a defendant against the plaintiff when sued and in which he seeks to cancel the amount due from him or to recover an amount in excess of the plaintiffs claim against him.”). The government has both a common law and a statutory right of setoff. The government’s common law right of setoff—which is inherent in the federal government—is broad and “exists independent of any statutory grant of authority to the executive branch.” United States v. Tafoya, 803 F.2d 140, 141 (5th Cir.1986). “The government has the same right which belongs to every creditor, to apply the unappropriated moneys of his debtor, in his hands, in extinguishment of the debts due to him.” United States v. Munsey Trust Co. of Washington, D.C., 332 U.S. 234, 239, 108 Ct.Cl. 765, 67 S.Ct. 1599, 1602, 91 L.Ed. 2022 (1947) (internal quotations omitted). This right of setoff belongs to every creditor, including the United States, through common law, United States v. Munsey Trust Co., 332 U.S. 234, 239, 108 Ct.Cl. 765, 67 S.Ct. 1599, 1601-02, 91 L.Ed. 2022 (1947), and additionally to the United States by statute. 31 U.S.C. § 3728. The government’s statutory right of set-off, the Federal Offset Statute, 31 U.S.C. § 3728 (1994 & Supp. II 1996), provides: (a) The Comptroller General shall withhold paying that part of a judgment against the United States Government presented to the Comptroller General that is equal to a debt the plaintiff owes the Government. (b) The Comptroller General shall— (1) discharge the debt if the plaintiff agrees to the setoff and discharges a part of the judgment equal to the debt; or (2)(A) withhold payment of an additional amount the Comptroller General decides will cover legal costs of bringing a civil action for the debt if the plaintiff denies the debt or does not agree to the setoff; and (B) have a civil action brought if one has not already been brought. (c) If the Government loses a civil action to recover a debt or recovers less than the amount the Comptroller General withholds under this section, the Comptroller General shall pay the plaintiff the balance and interest of 6 percent for the time the money is withheld. This statute provides that when a plaintiff obtains a judgment against the United States, but owes a debt to the government as well, and does not agree to the setoff, the Comptroller General must perform a setoff, withholding payment of a portion of the plaintiffs judgment and discharging an equal amount of his liability. In addition to the Comptroller General’s authority under 31 U.S.C. § 3728, the head of any executive or legislative agency may perform an “administrative offset” of like effect. 31 U.S.C. §§ 3701(a)(1), 3716. These statutes, though, have not displaced the United States’ common-law right of setoff. See Cecile Industries, Inc. v. Cheney, 995 F.2d 1052 (Fed.Cir.1993). Like other creditors, the United States may assert right of setoff against parties who are claiming rights derivatively from other parties against whom the setoff would be proper. U.S. v. Cohen, 389 F.2d 689 (5th Cir.1967). In Cohen, the Fifth Circuit held that the right of a federal prisoner’s attorneys to recover fees, awarded by federal district court out of tort recovery based on a fellow inmate’s assault on a prisoner, was derivative of prisoner’s right in the recovery and, hence, subject to government’s right to setoff against the prisoner’s prior tax assessments, which had been reduced to judgments against the prisoner. In Trans-ocean Air Lines, the fees were awarded under a contingency fee contract that provided that the attorneys would receive a one-third interest in the recovery. United States v. Transocean Air Lines, 386 F.2d 79, 80 (5th Cir.), cert. denied, 389 U.S. 1047, 88 S.Ct. 784, 19 L.Ed.2d 839 (1968). Because the attorneys’ interest in the fees was derivative of the plaintiffs’ interest in the judgment, the court allowed the government to setoff its claim against the judgement, including attorneys’ fees awarded to the plaintiffs. Id. at 82. The government’s [statutory] right of setoff, although also purportedly broad, is not unlimited. Marre v. U.S., 117 F.3d 297, 303 (5th Cir.1997). Section 3728 expressly applies only to offsets against any “judgment” owed by the United States. Further, in order for the government to invoke its right of setoff, there must be mutuality of debt between the parties. See United States v. 717.42 Acres of Land, 955 F.2d 376, 381 (5th Cir.1992) (reasoning that a mutuality of debt must exist before the United States can set off). Mutuality requires that the judgment creditor be the same person (in the view of the law) as the party who owes the debt to be collected, and the government must be the same person to whom the debt is owed. See Doe v. United States, 58 F.3d 494, 498 (9th Cir.1995) (“all agencies of the United States, except those acting in some distinctive private capacity, are a single governmental unit” for setoff against the United States). Another limitation on the government’s statutory right of setoff is known as the equitable subordination doctrine. This doctrine is rooted from the bankruptcy court’s inherent equitable powers, Pepper v. Litton, 308 U.S. 295, 303-11, 60 S.Ct. 238, 84 L.Ed. 281 (1939), a power also shared by admiralty courts (see e.g., Cantieri Navali Riuniti v. M/V SKYPTRON, 621 F.Supp. 171, 187 (W.D.La.1985), aff'd and remanded, 802 F.2d 160 (5th Cir.1986)); Hombeck Offshore Operators, Inc. v. Ocean Line, 849 F.Supp. 434 (E.D.Va.1994). Under this doctrine, a court can subordinate the government’s right of set-off in certain situations. Three conditions are necessary to justify equitable subordination: (I) The setoff claimant must have engaged in some type of inequitable conduct, such as fraud, illegality, or breach of fiduciary duty; (ii) the misconduct must have resulted in injury to the creditors of the bankrupt or conferred an unfair advantage on the claimant; and (iii) equitable subordination of the claim must not be inconsistent with federal statutes. See Custom Fuel Services v. Lombas Industries, 805 F.2d 561, 566 (5th Cir.1986) (citations omitted). A procedural limitation under § 3728(a) requires the government to bring suit in district court on its offsetting claim if it seeks an offset and the judgment creditor denies the debt or does not agree to the setoff. D. Priority Statute Where several liens have attached to one fund, the lien that is “first in time” will generally have priority, that is, it must be satisfied before recovery may occur under subsequent liens. Montavon v. U.S., 864 F.Supp. 519, 520 n. 1 (E.D.Va.1994). There are exceptions to this general rule as well as a number of rules which govern the determination of when a federal tax lien arises and when a state-created lien arises for purposes of the general rule. Rice Investment, Co. v. U.S., 625 F.2d 565, 568-69 (5th Cir.1980). Under the federal common law of choateness, a state-created lien is deemed to be in existence for “first in time” purposes when it is “perfected” or “ehoate”; that is, when the “ ‘identity of the lienor, the property subject to the lien, and the amount of the lien are established.’ ” U.S. By and Through I.R.S. v. McDermott, 507 U.S. 447, 449, 113 S.Ct. 1526, 123 L.Ed.2d 128 (citations omitted); see also United States v. Central Bank, 843 F.2d 1300, 1307 (10th Cir.1988). Choate liens take priority over later filed federal tax liens, while inchoate liens do not. Horton Dairy, Inc. v. United States, 986 F.2d 286, 291 (8th Cir.1993) (citations omitted). While the choateness doctrine is irrelevant when 26 U.S.C. § 6323 accords a lien priority over a federal tax lien, the doctrine of choateness nevertheless still applies when § 6323 is silent regarding priority. See, e.g. Burrus v. Oklahoma Tax Commission, 59 F.3d 147 (10th Cir.1995) (giving state tax lien priority under choateness doctrine). Treasury Regs. § 301.6323(h)-l(g) provides the following definition of a judgment lien creditor: The term ‘judgment lien creditor’ means a person who has obtained a valid judgment, in a court of record and of competent jurisdiction, for a recovery of specifically designated property or for a certain sum of money. In the case of a judgment for the recovery of a certain sum of money, a judgment lien creditor is a person who has perfected a lien under the property involved. A judgment is not perfected until the identity of the lienor, the property subject to the lien, and the amount of the lien are established.... This definition is in accordance with the Supreme Court’s decision in the United States v. City of New Britain, 347 U.S. 81, 74 S.Ct. 367, 98 L.Ed. 520 (1954). For the first time, the court inNew Britain deemed a state-created lien ehoate and, therefore, worthy of priority over subsequent federal tax liens on the basis of the “first in time” principle. New Britain, 347 U.S. at 84-5, 74 S.Ct. 367. New Britain announced the seminal test for determining priority of state-created liens: A state-created lien takes priority over a later federal tax lien when “there is nothing more to be done to have a ehoate lien-when the identity of the lienor, the property subject to the lien, and the amount of the lien are established.” New Britain, 347 U.S. at 84, 74 S.Ct. 367. The New Britain court provided justification for applying the choateness doctrine to protect federal liens. The court hypothesized that “[ojtherwise, a State could affect the standing of federal liens, contrary to the established doctrine, simply by causing an inchoate lien to attach at some arbitrary time even before the amount of tax, assessment, etc. is determined”. Id. at 86, 74 S.Ct. 367. In other words, the various fictions by which a lien, when ultimately perfected, “relates back” under state law to a time when some preliminary step was taken to create or enforce the hen, are not applicable in determining whether a hen was perfected or choate at the time a federal tax hen arose. Recognizing that the confusing new judicial concept of choateness was undermining the financing methods fostered by the Uniform Commercial Code, Congress enacted the Federal Tax Lien Act of 1966 [FTLA], which was incorporated into the Internal Revenue Code as sections 6321 through 6323 and has since remained largely unchanged. 26 U.S.C. §§ 6321, 6322, 6323 (1988 & Supp. IV 1992). A major goal behind the FTLA was to conform federal law to the commercial transactions governed by the U.C.C. The FTLA expanded the superpriority provisions now codified in section 6323(b) and provided, among other things, specific protection for attorney’s liens, and certain commercial transactions financing agreements. Id. The FTLA also codified the “first in time” principle and reaffirmed the notice-filing provisions and the choateness doctrine as it applied to judgment creditors. Id. E. Superpriority-Attorney’s Lien Under 26 U.S.C. § 6323(b), certain liens enjoy “superpriority” over federal tax liens, meaning they must be satisfied first, regardless of the “first in time” principle. Air Power, Inc. v. United States, 741 F.2d 53, 55 n. 1 (4th Cir.1984). Section 6323(b)(8) provides that if an attorney has a lien or a contract enforceable under local law against the proceeds or settlement of a claim, and the lien is for reasonable compensation in connection with securing the judgment or the settlement of a claim or cause of action, that lien takes priority over the federal tax lien. IRC § 6323(b)(8); Reg. § 301.6323(b)-1(h). See U.S. v. State Nat. Bank of CT, 421 F.2d 519 (2nd Cir.1970). Knowledge by the attorney of the tax lien does not disqualify the attorney from asserting su-perpriority status. Reg. § 301.6323(b)— 1(h)(3). Without such a provision, the federal tax lien would cover all of the taxpayer’s property, including causes of action and any amounts which may be owed to an attorney for work in connection with securing judgments or settlement of suits or other proceedings. S.Rep. No. 1708, 89th Cong.,2d Sess. 6. This provision protects the attorney to the extent of a reasonable fee, as long as it is protected by local law, for efforts in obtaining and collecting the judgment or amount. See U:S. v. Stonehill, 702 F.2d 1288 (9 th Cir.1983), cert. denied 471 U.S. 1066, 105 S.Ct. 2142, 85 L.Ed.2d 499 (1985); Spielvogel v. Harkins & Maeger Ltd., 639 F.Supp. 1397 (S.D.N.Y.1986). Reasonable compensation is defined as the amount customarily allowed under local law for such attorney’s services for litigating or settling a similar case or administrative claim. § 301.6323(b) — 1 (h). This is determined by the circumstances in each case. It may be established by multiplying the attorney’s reasonable hourly rate by the number of hours reasonably expended on the legal activity. In appropriate cases, the courts may adjust the lodestar figure according to the twelve (12) factors identified in the Kerr v. Screen Extras Guild, Inc., 526 F.2d 67 (9th Cir.1975), cert. denied 425 U.S. 951, 96 S.Ct. 1726, 48 L.Ed.2d 195 (1976) case. When a judgment or settlement is in respect to a claim against the United States, the United States has the right to offset any liability of the taxpayer to the United States against the judgment or settlement. The attorneys’ lien superpriority, therefore, does not apply with respect to judgments obtained for the taxpayer against the government. Internal Revenue Code § 6323(b)(8); Reg. § 301.6323(b)-l(h); Montavon v. U.S., 864 F.Supp. 519 (E.D.Va.1994). Section 6323(b)(8) reads: (8) Attorneys’ liens. — With respect to a judgment or other amount in settlement of a claim or of a cause of action, as against an attorney who, under local law, holds a lien upon or a contract enforceable against such judgment or amount, to the extent of his reasonable compensation for obtaining such judgment or procuring such settlement, except that this paragraph shall not apply to any judgment or amount in settlement of a claim or of a cause of action against the United States to the extent that the United States offsets such judgment or amount against any liability of the taxpayer to the United States. [Emphasis added]. The House Report explains that an attorney will not enjoy superpriority “to the extent that the United States, under any legal or equitable right, offsets its liability under the judgment or settlement against any liability of the taxpayer to the United States.” H.R.Rep. No. 1884, 89th Cong., 2d Sess. at 39 (1966) (emphasis added). The report then offers two examples of means by which the government might offset a judgment, one from common law, and the other from statute, indicating that the examples are not meant to be exhaustive. Id. Debate on the House floor also indicated that the offset exception contained no technical restriction as to how the government applies the judgment against the debt. The bill’s chief proponent explained that “ft]he right of offset would exist between two private parties each having claims against the other. We saw no reason for treating the Government worse in this situation, than we would a private party having a claim against the person involved.” 112 Cong.Rec. 22,226 (1966) (statement of Rep. Mills). The House and Senate reports each summarize the effect of the offset exception as follows: However, under the bill, in a proceeding against the Government, the Government retains its right to set off against any recoveries from it any amounts due it by the taxpayer on account of any tax or any other debt or claim. This setoff means that the attorney’s lien “superpri-ority” does not apply with respect to judgments he obtains for the taxpayer against the Government (citations omitted). The passage suggests that the key fact is whether the judgment obtained runs against the government. Montavon v. United States, 864 F.Supp. 519, 526 n. 18 (E.D.Va.1994). Where there is a judgment against the United States, but the notice of federal tax lien has not been filed, neither the basic purpose of Section 6323(b)(8) nor the claim against the United States exception is invoked, and the general rule of “first in time, first in right” applies. Capuano, 955 F.2d at 1433. In Capuano, the government conceded that attorney Capuano had a charging lien under Florida law and that the attorney’s charging lien for $25,000 of the $100,000 settlement amount was choate as of June 9, 1988, the day the final judgment was entered. Id. at 1433. The government further conceded that because the IRS, having made its tax assessment on July 7, 1998, almost one month after the final judgment was entered, Capuano’s charging lien was clearly first in time and first in right over the federal tax lien. Id. Although Capuano’s lien was in fact based on a judgment against the United States, it was choate under local law before the federal tax lien was filed. Id. Hence, § 6323(b) did not come into play and the general rule of “first in time, first in right” applied. Attorney’s Lien Under Local Law-Idaho The statute that authorizes an attorney’s charging lien under Idaho law is I.C. § 3-205, which provides: The measure and mode of compensation of attorneys and counselors at law is left to the agreement, express or implied, of the parties, which is not restrained by law. From the commencement of an action, or the service of an answer containing a counterclaim, the attorney who appears for a party has a lien upon his client’s cause of action or counterclaim, which attaches to a verdict, report, decision or judgment in his client’s favor and the proceeds thereof in whosoever hands they may come; and can not be affected by any settlement between the parties before or after judgment. Kenneth F. White, Chtd. v. St. Alphonsus Regional, 136 Idaho 238, 241, 31 P.3d 926 (Idaho App.2001). Under Idaho law, an attorney is not required to institute an independent action to file an attorney’s lien, but can file a notice and a motion to foreclose on that lien in connection with the principal case. Frazee v. Frazee, 104 Idaho 463, 464, 660 P.2d 928, 929 (1983). An attorney can seek to enforce an attorney’s lien for payment for services rendered by “petition” in the underlying case. Skelton v. Spencer, 102 Idaho 69, 73, 625 P.2d 1072, 1076 (1981). Moreover, I.R.C.P. 7(b) requires that an application to the court for an order be made by motion. Dragotoiu v. Dragotoiu, 133 Idaho 644, 991 P.2d 369 (1998). Further, to enforce an attorney’s lien under Idaho case law, it is clear that counsel seeking to enforce an attorney’s lien must, in an adjudicative process, show the reasonableness of the fees. Cole v. Kunzler, 115 Idaho 552, 768 P.2d 815 (1989). An attorney’s right to compensation pursuant to a contingency fee agreement is a property right determined under applicable state law. Under Idaho law, the reasonableness of a contingency fee agreement is based on a balancing of the risk factor with the potential for overreaching. Clark v. Sage, 102 Idaho 261, 265, 629 P.2d 657, 661 (1981) (setting forth additional factors to consider in determining the reasonableness). An attorney’s right to compensation pursuant to a contingency fee agreement is a property right determined under applicable state law. Barnhill v. Johnson, 503 U.S. 393, 112 S.Ct. 1386, 1389, 118 L.Ed.2d 39 (1992); Butner v. United States, 440 U.S. 48, 54, 99 S.Ct. 914, 918, 59 L.Ed.2d 136 (1979). It is also generally accepted that an attorney does not receive a legal or equitable interest pursuant to a contingency fee contract until the contingency actually occurs, i.e. a finalized judgment or settlement. Missouri Pac. R.R. Co. v. Austin, 292 F.2d 415, 419 (5th Cir.1961). F. Surety’s Equitable Subrogation Rights In general terms, subrogation is the substitution of one party in place of another with reference to a lawful claim, demand or right. It is a derivative right, acquired by satisfaction of the loss or claim that a third party has against another. Subrogation places the party paying the loss or claim (the “subrogee”) in the shoes of the person who suffered the loss (“the subrogor”). Thus, when the doctrine of subrogation applies, the subrogee succeeds to the legal rights and claims of the subro-gor with respect to the loss or claim. See, e.g., Amer. Surety Co. of New York v. Bethlehem Nat. Bank, 314 U.S. 314, 317, 62 S.Ct. 226, 86 L.Ed. 241 (1941) (discussing equitable doctrine of subrogation in surety context); Han v. United States, 944 F.2d 526, 529 (9th Cir.1991) (discussing equitable subrogation generally). In the construction industry, there are generally two types of surety bonds: the performance bond and the payment bond. Under a performance bond, the surety guarantees the obligee (the party to whom the surety owes the duty of performing its obligations under the bond) that in the event of a principal’s default, the contract will be completed for the original contract price. See, United States v. Munsey Trust Co., 332 U.S. 234, 244, 108 Ct.Cl. 765, 67 S.Ct. 1599, 1604, 91 L.Ed. 2022 (1947). The performance bond generally gives the surety the option of completing performance of the contract or of assuming liability for the cost of completing the contract in excess of the contract price. See, Morgenthau v. Fidelity & Deposit Co., 94 F.2d 632, 635 (D.C.Cir.1937) (“No difference between completion of the work by the surety ... and the furnishing of money to the contractor after his default ... to enable him to perform the contract”). On the other hand, a payment bond (also known as a “labor and material bond”) issued by a surety guarantees that subcontractors, laborers and material suppliers will be paid in the event of the principal’s default. See, Morrison Assurance Co., Inc. v. United States, 3 Cl.Ct. 626 (1983). Underlying these two bonds is the premise that “[i]f the contractor defaults, the surety performs the work, mitigates loss by its performance, and pays the subcontractors and suppliers.” First Indemnity of America v. Modular Structures, Inc (In re Modular Structures, Inc.), 27 F.3d 72, 74 n. 1 (3rd Cir.1994). It has long been held that where a surety, which issued payment and/or performance bonds, satisfies the obligation of its principal, it is subrogated to the rights of the obligee, the principal or the third party beneficiary. See, Pearlman v. Reliance Insurance Co., 371 U.S. 132, 136-137, 83 S.Ct. 232, 9 L.Ed.2d 190 (1962). The surety in cases like this undertakes duties which entitle it to step into three sets of shoes. When, on default of the contractor, it pays all the bills of the job to date and completes the job, it stands in the shoes of the contractor insofar as there are receivables due it; in the shoes of the laborers and materialmen who have been paid by the surety—who may have had liens; and not least, in the shoes of the government [owner] for whom the job was completed. National Shawmut Bank v. New Amsterdam Casualty Co., 411 F.2d 843, 845 (1st Cir., 1969). Claims of a surety, by way of subrogation, do have limits however. See Munsey Trust, 332 U.S. 234, 108 Ct.Cl. 765, 67 S.Ct. 1599, 91 L.Ed. 2022 (recognizing that the government’s right to a setoff based on sums due from the contractor on other jobs is superior to any claim of the surety by way of subrogation); Active Fire Sprinkler v. United States, 811 F.2d 747, 756 (2d Cir.1987) (recognizing that claims based on subrogation do not trump those of unpaid subcontractors). The rights of subrogation apply equally when the surety is called upon to pay a labor or material claim as when the surety is required to complete the performance of the contract. See, Pearlman, and Fireman’s Fund Insurance Co. v. United States, 421 F.2d 706, 190 Ct.Cl. 804 (Ct.Cl., 1970). Under the payment bond scheme, if the surety pays labor and/or material claims, it is subrogated to the rights of the laborer and/or supplier and the contractor to the corresponding contract funds. See, National Surety Corp. v. United States, 132 Ct.Cl. 724, 133 F.Supp. 381, 383-384 (1955), cert denied, sub. nom., First National Bank v. United States, 350 U.S. 902, 76 S.Ct. 181, 100 L.Ed. 793 (1955). In the instant ease, the intervenors do not request subrogation to contract funds but to a settlement fund stemming from the settlement of claims between ERI and the governmental agency FHWA. Equitable subrogation is a state law doctrine and therefore whether equitable subrogation applies in this case presents a question of Idaho law. In Idaho, the doctrine of subrogation is not ad