GOODWIN, Circuit Judge.
The United States appeals from a preliminary injunction restraining it from enforcing contracts for the sale of national forest timber, and plaintiffs-intervenors appeal their exclusion from the benefits of the injunction. We vacate the injunction because the district court did not have jurisdiction of the cause of action on which it was based.
North Side, the class it represents, and plaintiffs-intervenors are timber companies that have contracts to cut and pay for timber in the national forests in Oregon and Washington. They brought this action against the Secretary of Agriculture and several of his subordinates, asking for a judgment declaring the contracts void and restraining the defendants from enforcing them. They did not seek money damages.
Because of a depressed market for lumber and logs, the timber companies can perform their contracts only at a loss. If they do not perform, they will be liable to the government for the difference between the contract price they agreed to pay for the timber and the price the same timber brings when the government resells it to new purchasers, plus interest. Either performance at a loss or default with payment of damages to the government will bankrupt at least some of the timber companies.
The district court preliminarily enjoined the Secretary from enforcing the contracts held by North Side and the class of 109 privately-held timber companies it represents. Several publicly-held timber companies, the “plaintiffs-intervenors,” were permitted to intervene in the action but were excluded from the plaintiff class and from the scope of the injunction. The Secretary and Lane County, which intervened as a defendant to protect its interest in the contracts, appeal from the district court’s grant of the preliminary injunction. The plaintiffs-intervenors appeal from the district court’s refusal to bring them under the protection of the injunction.
The timber companies make two claims for relief. The first, which we will refer to as the impracticability claim, asserts that contingencies unforeseen at the time the contracts were made render the contracts void under the contract law doctrines of commercial impracticability, frustration of purpose, and impossibility of performance. The second, which we will refer to as the statutory claim, asserts that enforcement of the contracts would violate 16 U.S.C. §§ 473-482 and the Multiple-Use Sustained-Yield Act of 1960, 16 U.S.C. §§ 528 et seq.
The timber companies contend that both claims fall within the district court’s federal question jurisdiction, 28 U.S.C. § 1331. It is true that the claims arise under federal law as § 1331 requires. The statutory claim obviously involves federal statutes. The impracticability claim also arises under federal law because federal common law of contracts applies to contracts with the federal government, Saavedra v. Donovan, 700 F.2d 496, 498 (9th Cir.), cert. denied, — U.S.—, 104 S.Ct. 236, 78 L.Ed.2d 227 (1983), and federal common law is part of the “laws ... of the United States” for the purpose of § 1331 jurisdiction. Illinois v. Milwaukee, 406 U.S. 91,100, 92 S.Ct. 1385,1391, 31 L.Ed.2d 712 (1972).
But the analysis of jurisdiction cannot stop with § 1331, because the claims in this case are in essence against the federal government, and thus are barred by sovereign immunity unless the government has consented to suit. The timber companies contend that the Administrative Procedure Act, 5 U.S.C. § 702, waives the government’s sovereign immunity to this action. Section 702 reads in part:
An action in a court of the United States seeking relief other than money damages and stating a claim that an agency or an officer or employee thereof acted or failed to act in an official capacity or under color of legal authority shall not be dismissed nor relief therein be denied on the ground that it is against the United States or that the United States is an indispensable party.
The waiver of immunity is limited by the proviso of § 702 that
Nothing herein ... confers authority to grant relief if any other statute that grants consent to suit expressly or impliedly forbids the relief which is sought.
The Tucker Act, 28 U.S.C. §§ 1346 and 1491, is a “statute that grants consent to suit” on government contracts. We conclude that it impliedly forbids relief on the impracticability claim but not the statutory claim. It thus precludes a § 702 waiver of sovereign immunity on the impracticability claim. Moreover, on the impracticability claim, we have been able to identify from the record in this case no claim of an official action or failure to act within the meaning of 5 U.S.C. § 702. In the absence of such a claim, § 702 does not waive immunity-
The Tucker Act gives the United States Claims Court jurisdiction over “any claim against the United States founded ... upon any express or implied contract with the United States,” 28 U.S.C. § 1491(a)(1); it exercises this jurisdiction concurrently with the district courts for actions claiming less than $10,000. 28 U.S.C. § 1346(a)(2). The Act is more than just a grant of jurisdiction over government contract claims; it is also a limited waiver of sovereign immunity and a limitation on the remedies available in actions on government contracts. Megapulse, Inc. v. Lewis, 672 F.2d 959, 967 (D.C.Cir.1982). The Tucker Act has been construed as permitting the Claims Court to grant money damages against the government in contract actions but not injunctive or declaratory relief. United States v. King, 395 U.S. 1, 89 S.Ct. 1501, 23 L.Ed.2d 52 (1969) (Court of Claims may not grant declaratory relief); United States v. Jones, 131 U.S. 1, 9 S.Ct. 669, 33 L.Ed. 90 (1889) (Court of Claims may not grant equitable relief). These restrictions on the relief that the Claims Court may grant also limit the relief that the district courts may grant when exercising their concurrent Tucker Act jurisdiction under 28 U.S.C. § 1346(a)(2). Richardson v. Morris, 409 U.S. 464, 93 S.Ct. 629, 34 L.Ed.2d 647 (1973). Thus the Tucker Act “impliedly forbids” declaratory and injunctive relief and precludes a § 702 waiver of sovereign immunity in suits on government contracts. In fact, the legislative history of § 702 specifically mentions the Tucker Act as a statute that “impliedly forbids” relief within the meaning of § 702. H.R.Rep. No. 1656, 94th Cong., 2d Sess. 13, reprinted in 1976 U.S.Code Cong. & Ad. News 6121, 6133.
This court twice has said that the Tucker Act “does not preclude review of agency action when the relief sought is other than money damages.” Laguna Hermosa Corp. v. Martin, 643 F.2d 1376, 1379 (9th Cir.1981); Rowe v. United States, 633 F.2d 799, 802 (9th Cir.1980) cert. denied, 451 U.S. 970, 101 S.Ct. 2047, 68 L.Ed.2d 349 (1981). Because plaintiffs do not ask for money damages, this statement might seem to indicate that the Tucker Act does not prevent a § 702 waiver in our case. However, we decline to give the statement a broader scope than indicated by the facts of the cases in which it appears. Both Laguna Hermosa and Rowe dealt with claims that were contract-related but that rested at bottom on statutory rights. As we read these cases, the plaintiffs’ reliance on statutory rights kept their claims from being “founded ... upon [a] ... contract with the United States” within the meaning of the Tucker Act, with the consequence that the Act did not preclude a § 702 waiver of sovereign immunity.
In Laguna Hermosa, the plaintiff claimed that a government official’s refusal to honor a contract that the plaintiff had entered into with the government’s predecessor in interest violated a federal statute. The plaintiff asked for a declaratory judgment that it had contract rights against the government but apparently did not ask for a declaration of the content of those rights. Rather, it argued that whatever the scope of the contract rights that it had against the government’s predecessor in interest, a federal statute compelled the government to recognize them.
In Rowe, the court understood the plaintiffs to be claiming that because they had a contract with the government, a federal statute precluded the Secretary of the Interior from .awarding a lease to others. Plaintiffs accordingly asked the court to compel the Secretary to award them the lease. The Rowe plaintiffs were thus seeking to enforce statutory rights, not contractual ones.
Our reading of Laguna Hermosa and Rowe leads us to conclude that the Tucker Act does not impliedly forbid relief on the statutory claim and thus does not preclude a § 702 waiver of sovereign immunity on that claim. Like the claims in Laguna Hermosa and Rowe, the statutory claim does not seek a declaration of contract rights against the government. Rather, it asks for a declaration that, whatever the content of those rights, federal statutes preclude the government from enforcing them.
The impracticability claim, however, is subject to the Tucker Act’s implied restrictions on relief. It is concerned solely with rights created within the contractual relationship and has nothing to do with duties arising independently of the contract. As such, the impracticability claim is “founded ... upon [a] ... contract with the United States” and is therefore within the Tucker Act and subject to its restrictions on relief. See Megapulse, 672 F.2d at 967-968. If we were to construe § 702 to waive sovereign immunity on the impracticability claim, Congress’ intent not to allow post-award declaratory relief on government contracts would be frustrated. The district court does not have jurisdiction of the impracticability claim.
One jurisdictional point remains. The government argues that a proviso in 28 U.S.C. § 1346(a)(2) divests the district court of jurisdiction over all of plaintiffs’ claims, including the statutory claims. We disagree. Section 1346(a)(2) first grants the district courts jurisdiction over any “civil action or claim against the United States” not exceeding $10,000 that is founded upon a contract with the United States. This is followed by the proviso that the district courts shall not have jurisdiction over “any civil action or claim against the United States” founded on a contract subject to the Contract Disputes Act of 1978, 41 U.S.C. §§ 601 et seq. The government contends that the contracts at issue in this case are subject to the Contract Disputes Act of 1978, and that the proviso, because it uses the terms “any civil action or claim,” divests the district court of jurisdiction over all actions relating to the contracts brought under any head of jurisdiction. Because the proviso is an integral part of § 1346(a)(2), we conclude that it restricts only the jurisdiction that is granted in the first part of § 1346(a)(2). Moreover, our conclusion that the statutory claim is not subject to the Tucker Act’s remedial limitations rests on the fact that the claim is not “founded upon a contract” within the meaning • of § 1346(a)(2), but rather is based upon extra-contractual statutory obligations.
The district court has jurisdiction over the claim that enforcement of the contracts would violate 16 U.S.C. §§ 473-482 and the Multiple-Use Sustained-Yield Act of 1960, but does not have jurisdiction over the claim that the contracts are void for impracticability, frustration, or impossibility. Because the district court granted the injunction based on the impracticability claim and rejected the statutory claim, we vacate the judgment.
Because North Side’s amended complaint makes only the impracticability claim, the district court on remand shall dismiss the complaint unless, in its discretion, it permits North Side to amend it. Plaintiffs-in-tervenors’ statutory claim is remanded for further proceedings. We express no opinion on the viability of that claim.
After this case was argued and submitted, Congress enacted Public Law 98-478 which was signed by the President on October 16, 1984. This statute, popularly known as the Federal Timber Contract Payment Modification Act, substantially alters the economic environment out of which this litigation arose. We express no opinion upon whether the partial legislative remedy for some of the difficulties described in the complaint preempts judicial remedies under the pleadings as they stand, or as they may be amended upon remand.
Vacated and remanded.
. We will refer to North Side, its co-plaintiffs, the class they represent, and plaintiffs-interve-nors collectively as the timber companies.
. North Side’s original complaint asserted both the statutory and the impracticability theories. After the district court granted the preliminary injunction, North Side amended its complaint to omit the statutory claim. However, some of the plaintiffs-intervenors make this claim in their complaints in intervention.
. The Supreme Court treats sovereign immunity not merely as a defense but as a jurisdictional bar: “the existence of consent [to suit] is a prerequisite for jurisdiction.” United States v. Mitchell, 463 U.S. 206, 103 S.Ct. 2961, 2965, 77 L.Ed.2d 580 (1983). Title 28 U.S.C. § 1331 does not itself waive sovereign immunity. Kester v. Campbell, 652 F.2d 13, 15 (9th Cir.1981), cert. denied, 454 U.S. 1146, 102 S.Ct. 1008, 71 L.Ed.2d 298 (1982).
. King and Jones dealt with the jurisdiction of the former United States Court of Claims, but the cases are relevant because the Federal Courts Improvement Act of 1982, § 133, Pub.L. 97-164, 96 Stat. 25, 39, vested the newly-created Claims Court with the trial jurisdiction of the former Court of Claims. S.Rep. No. 275, 97th Cong., 1st Sess., 22-23 (1981), reprinted in 1982 U.S.Code Cong. & Ad.News 11, 32-33.
Current law permits the Claims Court to grant declaratory relief in contract claims brought before the contract is awarded, and to grant limited amounts of equitable relief, 28 U.S.C. § 1491(a)(2) & (3), but these provisions do not allow the injunction or the post-award declaratory judgment that plaintiffs seek in this action. Alford v. United States, 3 Cl.Ct. 229 (1983); Public Service Co. v. United States, 2 Cl.Ct. 380 (1983).
. However, even invocation of a statutory right will not permit a plaintiff to escape the Tucker Act’s exclusive jurisdiction and its preclusion of a § 702 waiver of sovereign immunity if the relief that the plaintiff seeks would have the actual effect of money damages. Rowe v. United States, 633 F.2d 799, 802 (9th Cir.1980), cert. denied, 451 U.S. 970, 101 S.Ct. 2047, 68 L.Ed.2d 349 (1981); Bakersfield City School District v. Boyer, 610 F.2d 621, 628 (9th Cir.1979).
What follows is an opinion from a United States Court of Appeals.
Intervenors who participated as parties at the courts of appeals should be counted as either appellants or respondents when it can be determined whose position they supported. For example, if there were two plaintiffs who lost in district court, appealed, and were joined by four intervenors who also asked the court of appeals to reverse the district court, the number of appellants should be coded as six.
In some cases there is some confusion over who should be listed as the appellant and who as the respondent. This confusion is primarily the result of the presence of multiple docket numbers consolidated into a single appeal that is disposed of by a single opinion. Most frequently, this occurs when there are cross appeals and/or when one litigant sued (or was sued by) multiple litigants that were originally filed in district court as separate actions. The coding rule followed in such cases should be to go strictly by the designation provided in the title of the case. The first person listed in the title as the appellant should be coded as the appellant even if they subsequently appeared in a second docket number as the respondent and regardless of who was characterized as the appellant in the opinion.
To clarify the coding conventions, consider the following hypothetical case in which the US Justice Department sues a labor union to strike down a racially discriminatory seniority system and the corporation (siding with the position of its union) simultaneously sues the government to get an injunction to block enforcement of the relevant civil rights law. From a district court decision that consolidated the two suits and declared the seniority system illegal but refused to impose financial penalties on the union, the corporation appeals and the government and union file cross appeals from the decision in the suit brought by the government. Assume the case was listed in the Federal Reporter as follows:
United States of America,
Plaintiff, Appellant
v
International Brotherhood of Widget Workers,AFL-CIO
Defendant, Appellee.
International Brotherhood of Widget Workers,AFL-CIO
Defendants, Cross-appellants
v
United States of America.
Widgets, Inc. & Susan Kuersten Sheehan, President & Chairman
of the Board
Plaintiff, Appellants,
v
United States of America,
Defendant, Appellee.
This case should be coded as follows:Appellant = United States, Respondents = International Brotherhood of Widget Workers Widgets, Inc., Total number of appellants = 1, Number of appellants that fall into the category "the federal government, its agencies, and officials" = 1, Total number of respondents = 3, Number of respondents that fall into the category "private business and its executives" = 2, Number of respondents that fall into the category "groups and associations" = 1.
Your task is to identify the state of the first listed state or local government agency that is an appellant.