Opinion
—The prevailing defendants in a specific performance and breach of contract action appeal a postjudgment order denying their motion for attorneys fees (Civ. Code, § 1717).
*505 I
On May 11, 1979, plaintiff John Manier executed a “Real Estate Purchase Agreement and Deposit Receipt” to acquire commercial property owned by defendant Anaheim Business Center Company (ABCC). Defendant Eric Martens, ABCC’s president and general partner, signed the document on behalf of the company. Martens added the following handwritten note at the end of the signature page; “Seller’s acceptance of this offer is subject [to] and contingent upon buyer’s execution of escrow instructions in form and content satisfactory to seller.” Manier never initialed these additional terms. Escrow opened and instructions were filed on May 24, 1979.
ABCC cancelled the agreement on May 19, 1980, citing the Maniers’ failure to arrange acceptable permanent financing. The Maniers then sued for specific performance, breach of contract, injunctive relief, and attorneys fees, claiming defendants agreed to assist them in obtaining financing. The court found no such obligation, and ABCC and Martens prevailed at trial. The defendants then sought to recover attorneys fees based on paragraph 6(d) of the deposit receipt 1 and Civil Code section 1717. 2 They claimed to have incurred $81,520 in attorneys fees in defending the Maniers’ action. The court held Martens’ handwritten changes constituted a counteroffer which the Maniers never accepted. 3 The court concluded there was no contract and, thus, no right to attorneys fees under Civil Code section 1717. ABCC and Martens appeal.
II
The Maniers, who sued on the contract, now insist Civil Code section 1717 does not apply because the court ruled no enforceable contract existed between the parties. They argue mere allegations by a plaintiff of entitlement to attorneys fees are insufficient to invoke Civil Code section 1717 if the court determines the contract never existed. They are wrong. The
*506
existence of an enforceable agreement is not a prerequisite to an award of attorneys fees under Civil Code section 1717. That section is available even where the prevailing party succeeds on the theory there was never an enforceable contract.
(Reynolds Metals Co.
v.
Alperson
(1979)
In
Care Construction, Inc.
v.
Century Convalescent Centers, Inc.
(1976)
Care Construction
relied in part on an earlier Court of Appeal opinion,
Babcock
v.
Omansky
(1973)
A different panel of the
Care Construction
court disavowed any reliance on
Babcock
two years later, however: “Respondents do quite properly call to our attention the By the Court opinion of this court in
Care Constr., Inc.
v.
Century Convalescent Centers, Inc. [supra]
Ten months later, the
Canal-Randolph
panel appeared to retreat considerably in
Pas
v.
Hill
(1978)
The Pas court concluded, “it is not necessary to be a signatory to the contract to recover attorney fees under section 1717” (ibid.)—and this time conceded the result in Babcock was correct: “In our view the key to [Bab cock] is that the plaintiffs who were parties to the promissory notes pleaded and attempted to prove that the defendant wife was a party to the notes or liable on the notes as a joint venturer and had the plaintiffs prevailed on that cause of action, [they] would have been entitled to an award of attorney fees against the defendant wife under the notes ’ unilateral attorney fee provisions. . . . [T]he plaintiff's having . . . caused defendant wife to defend against such liability, were estopped to deny defendant wife was a party to the contract for the remedial purposes of Civil Code section 1717. [Citations.]” (Id., at pp. 535-536.)
Thus, as to the attorneys fees issue,
Canal-Randolph
was effectively superseded and emasculated by
Pas
v.
Hill, supra,
*508 III
Alternatively, the Maniers contend section 1717 does not apply because they would not have been entitled to attorneys fees had they prevailed. They argue, since the deposit receipt was ineffective to create a binding agreement, they could not have enforced it and would never have been awarded their attorneys fees based on it. Marne Manier also seeks refuge in the fact she was not a signatory to the deposit receipt. Both spouses now claim to have sued for damages for breach of the escrow instructions only and, as this document did not contain an attorneys fees provision, neither side may invoke section 1717. These arguments must fail for several reasons.
First, all four versions of plaintiffs’ complaint were expressly based on the deposit receipt. A copy of that document was attached as an exhibit to and incorporated by reference in each of the verified pleadings; it provides for attorneys fees to the prevailing party (see fn. 1, ante). Thus the Maniers could have prevailed only by proving the viability of the deposit receipt.
Second, it matters not that they failed in this endeavor. Whether a party is entitled to attorneys fees for the purpose of invoking Civil Code section 1717 depends not on the evidence adduced at trial or some interim proceeding, but on the pleadings. This issue was recently addressed in
Jones
v.
Drain
(1983)
Here, both Maniers sued in the alternative for specific performance or damages for breach of contract and sought attorneys fees on all causes of action. They would have been entitled to attorneys fees if their complaint had merit, which it concededly did not. Consequently, Civil Code section 1717 mandates that result for prevailing parties ABCC and Martens.
(Reynolds Metals Co.
v.
Alperson, supra,
Finally, it is of no moment that Marne Manier was not a signatory to the deposit receipt; she alleged entitlement to attorneys fees under it. We concur with the apt view of Justice Stone in
Jones
v.
Drain, supra,
*509 The order denying attorneys fees is reversed. The matter is remanded to the trial court for a determination of appellants’ attorneys fees at trial and on appeal.
A petition for a rehearing was denied November 14, 1984, and respondents’ petition for a hearing by the Supreme Court was denied January 2, 1985.
Notes
Paragraph 6(d) provides, “If any party to this agreement or the Broker institutes any legal action against any other party to this Agreement, the prevailing party in said action shall be entitled to a reasonable attorneys fee, in addition to any other judgment of the court.”
Civil Code section 1717 provides, “(a) In any action on a contract, where the contract specifically provides that attorney’s fees and costs, which are incurred to enforce the provisions of that contract, shall be awarded either to one of the parties or to the prevailing party, then the party who is determined to be the prevailing party, whether he or she is the party specified in the contract or not, shall be entitled to reasonable attorney’s fees in addition to costs and necessary disbursements.
“Reasonable attorney’s fees shall be fixed by the court, upon notice and motion by a party, and shall be an element of the costs of suit. ...”
The correctness of this finding has not been questioned on appeal.
The issue was again somewhat obscured the following year, however, in
Reynolds Metals Co.
v.
Alperson, supra,
