Western Security Bank v. Superior Court

Opinion

CHIN, J.

This case concerns the extent to which two disparate bodies of law interact when standby letters of credit are used as additional support for *237loan obligations secured by real property. On one side we have California’s complex web of foreclosure and antideficiency laws that circumscribe enforcement of obligations secured by interests in real property. On the other side is the letter of credit law’s “independence principle,” the unique characteristic of letters of credit essential to their commercial utility.

The antideficiency statute invoked in this case is Code of Civil Procedure section 580d. That section precludes a judgment for any loan balance left unpaid after the lender’s nonjudicial foreclosure under a power of sale in a deed of trust or mortgage on real property. (See Roseleaf Corp. v. Chierighino (1963) 59 Cal.2d 35, 43-44 [27 Cal.Rptr. 873, 378 P.2d 97].)1 The independence principle, in summary form, makes the letter of credit issuer’s obligation to pay a draw conforming to the letter’s terms completely separate from, and not contingent on, any underlying contract between the issuer’s customer and the letter’s beneficiary. (See, e.g., Cal. U. Com. Code, § 5114, subd. (1); San Diego Gas & Electric Co. v. Bank Leumi (1996) 42 Cal.App.4th 928, 933-934 [50 Cal.Rptr.2d 20],)2

The Court of Appeal perceived a conflict between the public policies behind Code of Civil Procedure section 580d and the independence principle under the facts of this case. Here, after nonjudicial foreclosure of the real property security for its loan left a deficiency, the lender attempted to draw on the standby letters of credit of which it was the beneficiary. Ordinarily, the issuer’s payment on a letter of credit would require the borrower to reimburse the issuer. (See § 5114, subd. (3).) The Court of Appeal considered that this result indirectly imposed on the borrower the equivalent of a *238prohibited deficiency judgment. The court concluded the situation amounted to a “fraud in the transaction” under section 5114, subdivision (2)(b), one of the limited circumstances justifying" an issuer’s refusal to honor its letter of credit.

The Legislature soon acted to express a clear, contrary intent. It passed Senate Bill No. 1612 (1993-1994 Reg. Sess.) (hereafter Senate Bill No. 1612) as an urgency measure specifically meant to abrogate the Court of Appeal’s holding. (Stats. 1994, ch. 611, §§5, 6.) In brief, the aspects of Senate Bill No. 1612 we address provided that an otherwise conforming draw on a letter of credit does not contravene the antideficiency laws and that those laws afford no basis for refusal to honor a draw. After the Legislature’s action, we returned the case to the Court of Appeal for reconsideration in light of the statutory changes. On considering the point, the Court of Appeal concluded the Legislature’s action was prospective only and had no impact on the court’s earlier analysis of the parties’ rights and obligations. Accordingly, the Court of Appeal reiterated its former conclusions.

We again granted review and now reverse. The Legislature’s manifest intent was that Senate Bill No. 1612’s provisions, with one exception not involved here, would apply to all existing loans secured by real property and supported by outstanding letters of credit. We conclude the Legislature’s action constituted a clarification of the state of the law before the Court of Appeal’s decision. The legislation therefore has no impermissible retroactive consequences, and we must give it the effect the Legislature intended.

I. Factual and Procedural Background

On October 10, 1984, Beverly Hills Savings and Loan Association, later known as Beverly Hills Business Bank (the Bank), loaned $3,250,000 to Vista Place Associates (Vista), a limited partnership, to finance the purchase of real property improved with a shopping center. Vista’s general partners, Phillip F. Kennedy, Jr., John R. Bradley, and Peter M. Hillman (the Vista partners), each signed the promissory note. The loan transaction created a “purchase money mortgage,” as it was secured by a “Deed of Trust and Assignment of Rents” as well as a letter of credit.

Vista later experienced financial difficulties, and the loan went into default. Vista asked the Bank to modify the loan’s terms so Vista could continue operating the shopping center and repay the debt. The Bank and Vista agreed to a loan modification in February 1987, under which the three Vista partners each obtained an unconditional, irrevocable standby letter of *239credit in favor of the Bank in the amount of $125,000, for a total of $375,000. These were delivered to the Bank as additional collateral security for repayment of the loan. Under the modification agreement, the Bank was entitled to draw on the letters of credit if Vista defaulted or failed to pay the loan in full at maturity.

Western Security Bank, N.A. (Western) issued the letters of credit at the Vista partners’ request. Each partner agreed to reimburse Western if it ever had to honor the letters. Under the agreement, each Vista partner gave Western a $125,000 promissory note.3

In December 1990, the Bank declared Vista in default on the modified loan. The Bank recorded a notice of default on February 13,1991, and began *240nonjudicial foreclosure proceedings. (Civ. Code, § 2924.) It then filed an action against Vista seeking specific performance of the rents and profits provisions in the trust deed and appointment of a receiver.

On June 11, 1991, attorneys for the Bank and Vista signed a letter agreement settling the Bank’s lawsuit. In that agreement, Vista promised it would “not take any legal action to prevent [the Bank’s] drawing upon [the letters of credit] after the Trustee’s Sale of the Vista Place Shopping Center, . . . provided that the amount of the draw by [the Bank] does not exceed an amount equal to the difference between [Vista’s] indebtedness and the successful bid of the Trustee’s Sale.” Vista promised as well not to take any draw-related legal action against the Bank after the Bank’s draw on the letters of credit.

On June 13, 1991, the Bank concluded its nonjudicial foreclosure on the shopping center under the power of sale in its deed of trust. The Bank was the only bidder, and it purchased the property. The sale left an unpaid deficiency of $505,890.16.

That same day, the Bank delivered the three letters of credit and drafts to Western and demanded payment of their full amount, $375,000. The Bank never sought to recover the $505,890.16 deficiency from Vista or the Vista partners. About the time that Western received the Bank’s draw demand, it also received a written notice from the Vista partners’ attorney. The notice asserted that Code of Civil Procedure section 580d barred Western from seeking reimbursement from the Vista partners for any payment on the letters of credit, and that if Western paid, it did so at its own risk.

Western did not honor the Bank’s demand for payment on the letters of credit. Instead, on June 24,1991, Western filed this declaratory relief action against the Bank, as well as Vista and the Vista partners (collectively, the Vista defendants). Western’s complaint sought: (1) a declaration that Western is not obligated to accept or honor the Bank’s tender of the letters of credit; or, alternatively, (2) a declaration that, if Western must pay on the letters of credit, the Vista partners must reimburse Western according to the terms of their promissory notes.

The Vista defendants cross-complained against Western for cancellation of their promissory notes and for injunctive relief. In July 1991, the Bank filed a first amended cross-complaint, alleging Western wrongfully dishonored the letters of credit, and the Vista defendants breached the agreement not to take legal action to prevent the Bank’s drawing on the letters of credit.

The Bank, Western, and the Vista defendants each sought summary judgment. After several hearings and discussions with counsel, which produced a stipulation on the key facts, the court issued its decision on January *24123, 1992. By its minute order of that date, the court (1) denied the three motions for summary judgment, (2) severed the Vista defendants’ cross-complaint against Western for cancellation of the promissory notes, (3) severed the Bank’s amended cross-complaint against the Vista defendants for breach of the letter agreement, and (4) issued a tentative decision on the trial of Western’s complaint for declaratory relief and the Bank’s amended cross-complaint against Western for wrongful dishonor of the letters of credit.

The trial court signed and filed the judgment on March 26,1992. The court decreed the Bank was entitled to recover $375,000 from Western, plus interest at 10 percent from June 13, 1991, the date of the Bank’s demand, and costs of suit. The court further decreed Western could seek reimbursement from the Vista partners severally, and each Vista partner was obligated to reimburse Western, pursuant to the promissory notes in favor of Western, for its payment to the Bank. Western appealed, and the Vista defendants cross-appealed.

The Court of Appeal, after granting rehearing and accepting briefing by several amici curiae, issued an opinion reversing the trial court on December 21, 1993. In that opinion, the court concluded: “We hold that, under section 580d of the Code of Civil Procedure, an integral part of California’s long-established antideficiency legislation, the issuer of a standby letter of credit, provided to a real property lender by a debtor as additional security, may decline to honor it after receiving notice that it is to be used to discharge a deficiency following the beneficiary-lender’s nonjudicial foreclosure on real property. Such a use of standby letters of credit constitutes a ‘defect not apparent on the face of the documents’ within the meaning of California Uniform Commercial Code section 5114, subdivision (2)(b), and therefore such permissive dishonor does no offense to the ‘independence principle.’ ” (Original italics, fn. omitted.)

In that first opinion, the Court of Appeal also solicited the Legislature’s attention: “To the extent that this result will present problems for real estate lenders with respect to the way they now do business (as the Bank and several amici curiae have strongly suggested), it is a matter which should be addressed to the Legislature. We have been presented with two important but conflicting statutory policies. Our reconciliation of them in this case may not prove as satisfactory in another factual context. It is therefore a matter which should receive early legislative attention.” (Fn. omitted.)

We granted review, and while the matter was pending, the Legislature passed Senate Bill No. 1612, an urgency statute that the Governor signed on *242September 15,1994. Senate Bill No. 1612 affected four statutes. Section 1 of the bill amended Civil Code section 2787 to state that a letter of credit is not a form of suretyship obligation. (Stats. 1994, ch. 611, § 1.) Section 2 of the bill added Code of Civil Procedure section 580.5, explicitly excluding letters of credit from the purview of the antideficiency laws. (Stats. 1994, ch. 611, § 2.) Section 3 of the bill added Code of Civil Procedure section 580.7, which declares unenforceable letters of credit issued to avoid defaults on purchase money mortgages for owner-occupied real property containing one to four residential units. (Stats. 1994, ch. 611, §3.) Section 4 of the bill made “technical, nonsubstantive changes” to section 5114. (Stats. 1994, ch. 611, § 4; Legis. Counsel’s Dig., Sen. Bill No. 1612 (1993-1994 Reg. Sess.).)

The Legislature made its purpose explicit: “It is the intent of the Legislature in enacting Sections 2 and 4 of this act to confirm the independent nature of the letter of credit engagement and to abrogate the holding [of the Court of Appeal in this case] . . . . [¶] The Legislature also intends to confirm the expectation of the parties to a contract that underlies a letter of credit, that the beneficiary will have available the value of the real estate collateral and the benefit of the letter of credit without regard to the order in which the beneficiary may resort to either.” (Stats. 1994, ch. 611, § 5.) The same purpose was echoed in the bill’s statement of the facts calling for an urgency statute: “In order to confirm and clarify the law applicable to obligations which are secured by real property or an estate for years therein and which also are supported by a letter of credit, it is necessary that this act take effect immediately.” (Stats. 1994, ch. 611, § 6.)

After the Legislature enacted Senate Bill No. 1612, we requested the parties’ views on its effect. On February 2, 1995, after considering the parties’ responses, we transferred the case to the Court of Appeal with directions to vacate its decision and reconsider the cause in light of the Legislature’s action.

On reconsideration, the Court of Appeal determined Senate Bill No. 1612 constituted a substantial change in existing law. Believing there was no clear evidence that the Legislature intended the statute to operate retrospectively, the Court of Appeal thought Senate Bill No. 1612 had only prospective application. Therefore, Senate Bill No. 1612 did not affect the Court of Appeal’s prior conclusions on the parties’ rights and obligations. The Court of Appeal filed its second opinion on September 29, 1995, mostly repeating its prior reasoning and conclusions. We granted the Bank’s petition for review.

II. Discussion

As the Court of Appeal recognized, we first must determine the effect on this case of the Legislature’s enactment of Senate Bill No. 1612. *243A basic canon of statutory interpretation is that statutes do not operate retrospectively unless the Legislature plainly intended them to do so. (Evangelatos v. Superior Court (1988) 44 Cal.3d 1188, 1207-1208 [246 Cal.Rptr. 629, 753 P.2d 585]; Aetna Cas. & Surety Co. v. Ind. Acc. Com. (1947) 30 Cal.2d 388, 393 [182 P.2d 159].) A statute has retrospective effect when it substantially changes the legal consequences of past events. (Kizer v. Hanna (1989) 48 Cal.3d 1, 7 [255 Cal.Rptr. 412, 767 P.2d 679].) A statute does not operate retrospectively simply because its application depends on facts or conditions existing before its enactment. (Ibid.) Of course, when the Legislature clearly intends a statute to operate retrospectively, we are obliged to carry out that intent unless due process considerations prevent us. (In re Marriage of Bouquet (1976) 16 Cal.3d 583, 587, 592 [128 Cal.Rptr. 427, 546 P.2d 1371].)

A corollary to these rules is that a statute that merely clarifies, rather than changes, existing law does not operate retrospectively even if applied to transactions predating its enactment. We assume the Legislature amends a statute for a purpose, but that purpose need not necessarily be to change the law. (Cf. Williams v. Garcetti (1993) 5 Cal.4th 561, 568 [20 Cal.Rptr.2d 341, 853 P.2d 507].) Our consideration of the surrounding circumstances can indicate that the Legislature made material changes in statutory language in an effort only to clarify a statute’s true meaning. (Martin v. California Mut. B. & L. Assn. (1941) 18 Cal.2d 478, 484 [116 P.2d 71]; GTE Sprint Communications Corp. v. State Bd. of Equalization (1991) 1 Cal.App.4th 827, 833 [2 Cal.Rptr.2d 441]; see Balen v. Peralta Junior College Dist. (1974) 11 Cal.3d 821, 828, fn. 8 [114 Cal.Rptr. 589, 523 P.2d 629].) Such a legislative act has no retrospective effect because the true meaning of the statute remains the same. (Stockton Sav. & Loan Bank v. Massanet (1941) 18 Cal.2d 200, 204 [114 P.2d 592]; In re Marriage of Reuling (1994) 23 Cal.App.4th 1428, 1440 [28 Cal.Rptr.2d 726]; Tyler v. State of California (1982) 134 Cal.App.3d 973, 976-977 [185 Cal.Rptr. 49].)

One such circumstance is when the Legislature promptly reacts to the emergence of a novel question of statutory interpretation: “ ‘An amendment which in effect construes and clarifies a prior statute must be accepted as the legislative declaration of the meaning of the original act, where the amendment was adopted soon after the controversy arose concerning the proper interpretation of the statute. ... [¶] If the amendment was enacted soon after controversies arose as to the interpretation of the original act, it is logical to regard the amendment as a legislative interpretation of the original act—a formal change—rebutting the presumption of substantial change.’ (1A Singer, Sutherland Statutory Construction (5th ed. 1993) § 22.31, p. *244279, fns. omitted.)” (RN Review for Nurses, Inc. v. State of California (1994) 23 Cal.App.4th 120, 125 [28 Cal.Rptr.2d 354],)4

Even so, a legislative declaration of an existing statute’s meaning is neither binding nor conclusive in construing the statute. Ultimately, the interpretation of a statute is an exercise of the judicial power the Constitution assigns to the courts. (California Emp. etc. Com. v. Payne (1947) 31 Cal.2d 210, 213 [187 P.2d 702]; Bodinson Mfg. Co. v. California E. Com. (1941) 17 Cal.2d 321, 326 [109 P.2d 935]; see Del Costello v. State of California (1982) 135 Cal.App.3d 887, 893, fn. 8 [185 Cal.Rptr. 582].) Indeed, there is little logic and some incongruity in the notion that one Legislature may speak authoritatively on the intent of an earlier Legislature’s enactment when a gulf of decades separates the two bodies. (Cf. Peralta Community College Dist. v. Fair Employment & Housing Com. (1990) 52 Cal.3d 40, 51-52 [276 Cal.Rptr. 114, 801 P.2d 357].) Nevertheless, the Legislature’s expressed views on the prior import of its statutes are entitled to due consideration, and we cannot disregard them.

“[A] subsequent expression of the Legislature as to the intent of the prior statute, although not binding on the court, may properly be used in determining the effect of a prior act.” (California Emp. etc. Com. v. Payne, supra, 31 Cal.2d at pp. 213-214.) Moreover, even if the court does not accept the Legislature’s assurance that an unmistakable change in the law is merely a “clarification,” the declaration of intent may still effectively reflect the Legislature’s purpose to achieve a retrospective change. (Id. at p. 214.) Whether a statute should apply retrospectively or only prospectively is, in the first instance, a policy question for the legislative body enacting the statute. (Evangelatos v. Superior Court, supra, 44 Cal.3d at p. 1206.) Thus, where a statute provides that it clarifies or declares existing law, “[i]t is obvious that such a provision is indicative of a legislative intent that the amendment apply to all existing causes of action from the date of its enactment. In accordance with the general rules of statutory construction, we must give effect to this intention unless there is some constitutional objection thereto.” (California Emp. etc. Com. v. Payne, supra, 31 Cal.2d at p. *245214; cf. City of Sacramento v. Public Employees’ Retirement System (1994) 22 Cal.App.4th 786, 798 [27 Cal.Rptr.2d 545]; City of Redlands v. Sorensen (1985) 176 Cal.App.3d 202, 211 [221 Cal.Rptr. 728].)

With respect to Senate Bill No. 1612, the Legislature made its intent plain. Section 5 of the bill states, in part: “It is the intent of the Legislature in enacting Sections 2 and 4 of this act[5] to confirm the independent nature of the letter of credit engagement and to abrogate the holding in [the Court of Appeal’s earlier opinion in this case], that presentment of a draft under a letter of credit issued in connection with a real property secured loan following foreclosure violates Section 580d of the Code of Civil Procedure and constitutes a ‘fraud ... or other defect not apparent on the face of the documents’ under paragraph (b) of subdivision (2) of Section 5114 of the Commercial Code. ...[*][] The Legislature also intends to confirm the expectation of the parties to a contract that underlies a letter of credit, that the beneficiary will have available the value of the real estate collateral and the benefit of the letter of credit without regard to the order in which the beneficiary may resort to either.” (Stats. 1994, ch. 611, § 5.)

The Legislature’s intent also was evident in its statement of the facts justifying enactment of Senate Bill No. 1612 as an urgency statute: “In order to confirm and clarify the law applicable to obligations which are secured by real property or an estate for years therein and which also are supported by a letter of credit, it is necessary that this act take effect immediately.” (Stats. 1994, ch. 611, § 6.) The Legislature’s unmistakable focus was the disruptive effect of the Court of Appeal’s decision on the expectations of parties to transactions where a letter of credit was issued in connection with a loan secured by real property. By abrogating the Court of Appeal’s decision, the *246Legislature intended to protect those parties’ expectations and restore certainty and stability to those transactions. If the Legislature acts promptly to correct a perceived problem with a judicial construction of a statute, the courts generally give the Legislature’s action its intended effect. (See, e.g., Escalante v. City of Hermosa Beach (1987) 195 Cal.App.3d 1009, 1020 [241 Cal.Rptr. 199]; City of Redlands v. Sorensen, supra, 176 Cal.App.3d at pp. 211-212; Tyler v. State of California, supra, 134 Cal.App.3d at pp. 976-977; but see Del Costello v. State of California, supra, 135 Cal.App.3d at p. 893, fn. 8 [courts need not accept Legislature’s interpretation of statute].) The plain import of Senate Bill No. 1612 is that the Legislature intended its provisions to apply immediately to existing loan transactions secured by real property and supported by outstanding letters of credit, including those in this case.

We next consider whether Senate Bill No. 1612 effected a change in the law, or instead represented a clarification of the state of the law before the Court of Appeal’s decision. As mentioned earlier, Senate Bill No. 1612 amended two code sections (§5114, Civ. Code, § 2787) and added two sections to the Code of Civil Procedure (§§ 580.5, 580.7). The two code sections Senate Bill No. 1612 amended plainly made no substantive change in the law. The amendments to section 5114, which concerns the issuer’s duty to honor a draft conforming to the letter of credit’s terms, were “technical, nonsubstantive changes,” as the Legislative Counsel’s Digest correctly noted. (See Legis. Counsel’s Dig., Sen. Bill No. 1612 (1993-1994 Reg. Sess.).)

In the other section amended, Civil Code section 2787, Senate Bill No. 1612 added a statement reflecting an established formal distinction: “A letter of credit is not a form of suretyship obligation.” (Stats. 1994, ch. 611, § 1.) Civil Code section 2787 defines a surety or guarantor as “one who promises to answer for the debt, default, or miscarriage of another, or hypothecates property as security therefor.” Generally, a surety’s liability for an obligation is secondary to, and derivative of, the liability of the principal for that obligation. (See, e.g., Civ. Code, § 2806 et seq.)

By contrast, the liability of the issuer of a letter of credit to the letter’s beneficiary is direct and independent of the underlying transaction between the beneficiary and the issuer’s customer. (See San Diego Gas & Electric Co. v. Bank Leumi, supra, 42 Cal.App.4th at pp. 933-934; Paramount Export Co. v. Asia Trust Bank, Ltd. (1987) 193 Cal.App.3d 1474, 1480 [238 Cal.Rptr. 920]; Lumbermans Acceptance Co. v. Security Pacific Nat. Bank (1978) 86 Cal.App.3d 175, 178 [150 Cal.Rptr. 69].) Thus, as the amendment to Civil Code section 2787 made clear, existing law viewed a *247letter of credit as an independent obligation of the issuing bank rather than as a form of guaranty or a surety obligation. (See, e.g., Dolan, The Law of Letters of Credit: Commercial and Standby Credits (rev. ed. 1996) § 2.10[1], pp. 2-61 to 2-63 (Dolan, Letters of Credit); 3 White & Summers, Uniform Commercial Code (4th ed. 1995) Letters of Credit, § 26-2, pp. 112-117.) The issuer of a letter of credit cannot refuse to pay based on extraneous defenses that might have been available to its customer. (San Diego Gas & Electric Co. v. Bank Leumi, supra, 42 Cal.App.4th at p. 934.) Absent fraud, the issuer must pay upon proper presentment regardless of any defenses the customer may have against the beneficiary based in the underlying transaction. (Ibid.)

Senate Bill No. 1612’s remaining statutory addition with which we are concerned,6 Code of Civil Procedure section 580.5, specified that letter of credit transactions do not violate the antideficiency laws contained in Code of Civil Procedure sections 580a, 580b, 580d, or 726. (Code Civ. Proc., § 580.5, subd. (b)(3).) In particular, the new section specifies that a lender’s resort to a letter of credit, and the issuer’s concomitant right to reimbursement, do not constitute an “action” under Code of Civil Procedure section 726, or a failure to proceed first against security, regardless of whether they come before or after a foreclosure. (Code Civ. Proc., § 580.5, subd. (b)(1).) Similarly, letter of credit draws and reimbursements do not constitute deficiency judgments “or the functional equivalent of any such judgment.” (Code Civ. Proc., § 580.5, subd. (b)(2).)

The Court of Appeal saw Code of Civil Procedure section 580.5 as a change in the law, in large part, because of the analogy it employed to examine the use of standby letters of credit as additional support for loans also secured by real property. The Bank argued a standby letter of credit was the functional equivalent of cash collateral. The Court of Appeal disagreed, instead analogizing standby letters of credit to guaranties and emphasizing the similarities of purpose and function: “No matter how it may be regarded *248by the beneficiary, a standby letter is certainly not cash or its equivalent from the perspective of the debtor; in reality, it represents his promise to provide additional funds in the event of his future default or deficiency, thus confirming its use not as a means of payment but rather as an instrument of guarantee.” (Original italics.) The Court of Appeal relied on Union Bank v. Gradsky (1968) 265 Cal.App.2d 40 [71 Cal.Rptr. 64] (Gradsky) and Commonwealth Mortgage Assurance Co. v. Superior Court (1989) 211 Cal.App.3d 508 [259 Cal.Rptr. 425] (Commonwealth Mortgage).

Gradsky held that a creditor, after nonjudicial foreclosure of the real property security for a note, could not recover the note’s unpaid balance from a guarantor. (Gradsky, supra, 265 Cal.App.2d at p. 41.) Significantly, the court did not find Code of Civil Procedure section 580d’s prohibition of deficiency judgments barred the creditor’s claim on the guarantor: “It is barred by applying the principles of estoppel. The estoppel is raised as a matter of law to prevent the creditor from recovering from the guarantor after the creditor has exercised an election of remedies which destroys the guarantor’s subrogation rights against the principal debtor.” (Gradsky, supra, 265 Cal.App.2d at p. 41.)

The court noted that the guarantor, after payment, ordinarily would be equitably subrogated to the rights and security formerly held by the creditor. (Gradsky, supra, 265 Cal.App.2d at pp. 44-45; cf. Civ. Code, §§ 2848, 2849.) However, where the creditor first resorts to nonjudicial foreclosure, the guarantor could not acquire any subrogation rights from the creditor because under Code of Civil Procedure section 580d, the nonjudicial sale eliminated both the security and the possibility of a deficiency judgment against the debtor. (Gradsky, supra, 265 Cal.App.2d at p. 45.) Because the creditor has a duty not to impair the guarantor’s remedies against the debtor, the court held the creditor is estopped from pursuing the guarantor after electing a remedy—nonjudicial foreclosure—that eliminated the security for the debt and curtailed the possibility of the guarantor’s reimbursement from the debtor. (Id. at pp. 46-47.)

However, the rules applicable to surety relationships do not govern the relationships between the parties to a letter of credit transaction. (See Dolan, Letters of Credit, supra, § 2.10[1], pp. 2-62 to 2-63.) At the time of this case’s transactions, a majority of courts did not grant subrogation rights to an issuer that honored a draw on a credit; the issuer satisfied its own primary obligation, not the debt of another. (Tudor Dev. Group, Inc. v. U.S. Fid. & Guar. Co. (3d Cir. 1992) 968 F.2d 357, 361-363; see 3 White & Summers, Uniform Commercial Code, supra, Letters of Credit, § 26-15, pp. 211-212; but see Cal. U. Com. Code, § 5117; fn. 2, ante, at pp. 237-238.) Nor does the *249beneficiary of a letter of credit owe any obligations to the issuer; literal compliance with the letter of credit’s terms for payment is all that is required. (Cf. Paramount Export Co. v. Asia Trust Bank, Ltd., supra, 193 Cal.App.3d at p. 1480; Lumbermans Acceptance Co. v. Security Pacific Nat. Bank, supra, 86 Cal.App.3d at p. 178.)

Gradsky contains additional language suggesting a much broader rule than its holding and analysis warranted. Going beyond the subrogation theory underlying its holding, the court observed: “If ... the guarantor . . . can successfully assert an action in assumpsit against [the debtor] for reimbursement, the obvious result is to permit the recovery of a ‘deficiency’ judgment against the debtor following a nonjudicial sale of the security under a different label. It makes no difference to [the debtor’s] purse whether the recovery is by the original creditor in a direct action following nonjudicial sale of the security, or whether the recovery is in an action by the guarantor for reimbursement of the same sum.” (Gradsky, supra, 265 Cal.App.2d at pp. 45-46.) The court also said: “The Legislature clearly intended to protect the debtor from personal liability following a nonjudicial sale of the security. No liability, direct or indirect, should be imposed upon the debtor following a nonjudicial sale of the security. To permit a guarantor to recover reimbursement from the debtor would permit circumvention of the legislative purpose in enacting section 580d.” (Id. at p. 46.) In view of the reasoning of the court’s holding, these additional observations were unnecessary to the case’s determination.

Commonwealth Mortgage followed Gradsky to hold a mortgage guaranty insurer could not enforce indemnity agreements to obtain reimbursement from the debtors for the insurer’s payment to the lender after the lender’s nonjudicial sale of its real property security. (Commonwealth Mortgage, supra, 211 Cal.App.3d at p. 517.) The court said the mortgage guaranty insurance policy served the same purpose as the guaranty in Gradsky, and thus Gradsky would bar the insurer from being reimbursed under subrogation principles. (Commonwealth Mortgage, supra, 211 Cal.App.3d at p. 517.) The court found the substitution of indemnity agreements for subrogation rights did not distinguish the case from Gradsky. Relying on the rule that a principal obligor incurs no additional liability on a note by also being a guarantor of it, the court said the agreements added nothing to the debtors’ existing liability. (Commonwealth Mortgage, supra, 211 Cal.App.3d at p. 517.) Thus, the court said the indemnity agreements could not be viewed as independent obligations. (Ibid.) Instead, the court concluded they were invalid attempts to have the debtors waive in advance the statutory prohibition against deficiency judgments. (Ibid.)

As did Gradsky, Commonwealth Mortgage also inveighed against subterfuges that thwart the purposes of Code of Civil Procedure section 580d. *250(Commonwealth Mortgage, supra, 211 Cal.App.3d at pp. 515, 517.) “Although section 580d applies by its specific terms only to actions for ‘any deficiency upon a note secured by a deed of trust’ and not to actions based upon other obligations, the proscriptions of section 580d cannot be avoided through artifice [citation] .... In determining whether a particular recovery is precluded, we must consider whether the policy behind section 580d would be violated by such a recovery. [Citation.]” (Commonwealth Mortgage, supra, 211 Cal.App.3d at p. 515.) Thus, as did the Gradsky court, the Commonwealth Mortgage court augmented its opinion with concepts unnecessary to its determination of the case.7

The Court of Appeal in this case extrapolated from the Gradsky and Commonwealth Mortgage precedents a rule that swept far beyond their origins in guaranty and suretyship relationships: “Not only is a creditor prevented from obtaining a deficiency judgment against the debtor, but no other person is permitted to obtain what would, in effect, amount to a deficiency judgment.” (Original italics.) The Court of Appeal apparently concluded a transaction has such an effect if it “has the practical consequence of requiring the debtor to pay additional money on the debt after default or foreclosure.” (Original italics.) “Thus, we preserve the principle, clearly established by Gradsky and Commonwealth [Mortgage], that a lender should not be able to utilize a device of any kind to avoid the limitations of section 580d; and we apply that principle here to standby letters of credit.” However, as we have seen, neither Gradsky nor Commonwealth Mortgage established such a principle as a rule of law. Instead, their statements accentuated the courts’ vigilance regarding attempted evasions of the antideficiency and foreclosure laws.

The Court of Appeal mistook standby letters of credit for such an attempt by seeing them only as a form of guaranty. The court analogized the standby letter of credit to a guaranty because of the perceived functional similarities. One consequence of that analogy was that the court applied to standby letters of credit a rule whose legal justifications originated in the subrogation rights owed to sureties. However, as discussed before, letters of credit—standby or otherwise—are not a form of suretyship, and the rights of the parties to these transactions are not governed by suretyship principles. *251Further, suretyship involves no counterpart to the independence principle essential to letters of credit.

While analogies can improve our understanding of how and why letters of credit are useful, analogies cannot substitute for recognizing the letters’ unique qualities. The authors of one leading treatise aptly summarized the point: “In short, a letter of credit is a letter of credit. As Bishop Butler once said, ‘Everything is what it is and not another thing.’ ” (3 White & Summers, Uniform Commercial Code, supra, Letters, of Credit, § 26-2, p. 117, fn. omitted.)

By focusing on analogies to guaranties, the Court of Appeal also overlooked that the parties in this case specifically intended the standby letters of credit to be additional security.8 The parties’ stipulated facts include that the original loan agreement was secured by a letter of credit, and that “Vista caused [the subsequent letters of credit] to be issued by Western as additional collateral security . . . .” The Court of Appeal found the letters of credit were not security interests in personal property under California Uniform Commercial Code section 9501, subdivision (4), as the Bank had argued. However, we need not determine whether a standby letter of credit comes within the scope of division 9 of the California Uniform Commercial Code. A letter of credit is sui generis as a means of securing or supporting performance of an obligation incurred in a separate transaction. Regardless of whether this idiosyncratic undertaking meets the qualifications for a security interest under the California Uniform Commercial Code, it nevertheless is a form of security for assuring another’s performance.

When viewed as additional security for a note also secured by real property, a standby letter of credit does not conflict with the statutory *252prohibition of deficiency judgments. Code of Civil Procedure section 580d does not limit the security for notes given for the purchase of real property only to trust deeds; other security may be given as well. (Freedland v. Greco (1955) 45 Cal.2d 462, 466 [289 P.2d 463].) Creditors may resort to such other security in addition to nonjudicial foreclosure of the real property security. (Ibid.; Hatch v. Security-First Nat. Bank (1942) 19 Cal.2d 254, 260 [120 P.2d 869].) A standby letter of credit is a security device created at the request of the customer/debtor that is an obligation owed independently by the issuing bank to the beneficiary/creditor. (See San Diego Gas & Electric Co. v. Bank Leumi, supra, 42 Cal.App.4th at pp. 933-934; Lumbermans Acceptance Co. v. Security Pacific Nat. Bank, supra, 86 Cal.App.3d at p. 178.) A creditor that draws on a letter of credit does no more than call on all the security pledged for the debt. When it does so, it does not violate the prohibition of deficiency judgments.

The Legislature plainly intended that the sections of Senate Bill No. 1612 we have addressed would apply to existing loan transactions supported by outstanding letters of credit. We conclude the Legislature’s action did not effect a change in the law. Before the Legislature passed Senate Bill No. 1612, an issuer could not refuse to honor a conforming draw on a standby letter of credit—given as additional security for a real property loan—on the basis that the draw followed a nonjudicial sale of the real property security. The Court of Appeal created such a basis, but produced an unprecedented rule without solid legal underpinnings or any real connection to the actual language of the statutes involved.

Therefore, the aspects of Senate Bill No. 1612 we have discussed did not effect any change in the law, but simply clarified and confirmed the state of the law prior to the Court of Appeal’s first opinion. Because the legislative action did not change the legal effect of past actions, Senate Bill No. 1612 does not act retrospectively; it governs this case. The Legislature concluded that Senate Bill No. 1612 should be given immediate effect to confirm and clarify the law applicable to loans secured by real property and supported by letters of credit. This conclusion was reasonable, particularly in view of the uncertainties the financial community evidently faced after the Court of Appeal’s decision. (See, e.g., Murray, What Should I Do With This Letter of Credit? (Cont.Ed.Bar 1994) 17 Real Prop. L. Rptr. 133, 138-140.)

In sum, the Court of Appeal erred in concluding the Legislature’s enactment of Senate Bill No. 1612 had no effect on this case. The Legislature explicitly intended to abrogate the Court of Appeal’s prior decision and make certain the parties’ obligations when letters of credit supported loans also secured by real property. The Legislature manifestly intended the *253respective obligations of the parties to a letter of credit transaction should remain unaffected by the antideficiency laws, whether those obligations arose before or after enactment of Senate Bill No. 1612. Accordingly, we conclude the judgment of the Court of Appeal should be reversed.9

Disposition

The judgment of the Court of Appeal is reversed, and the cause remanded for further proceedings consistent with this opinion.

George, C. J., Baxter, J., and Brown, J., concurred.

In pertinent part, Code of Civil Procedure section 580d provides: “No judgment shall be rendered for any deficiency upon a note secured by a deed of trust or mortgage upon real property or an estate for years therein hereafter executed in any case in which the real property or estate for years therein has been sold by the mortgagee or trustee under power of sale contained in the mortgage or deed of trust.”

In 1996, the Legislature completely revised division 5 of the California Uniform Commercial Code, which pertains to letters of credit. (Stats. 1996, ch. 176.) The enactment of chapter 176 repealed the former division 5 and added a new division 5. (Stats. 1996, ch. 176, §§ 6, 7.) The new provisions apply to letters of credit issued after the statute’s effective date. (Stats. 1996, ch. 176, § 14.) Letters of credit issued earlier are to be dealt with as though the repeal had not occurred. (Stats. 1996, ch. 176, § 15.) We have no occasion in this case to consider the provisions of the new division 5.

The Legislature (Stats. 1996, ch. 497, § 7) later amended a statutory reference found in California Uniform Commercial Code section 5114 as it existed before chapter 176 was enacted. This second legislative action might appear to restore the prior section 5114 from the repealed former division 5 and possibly leave two sections numbered 5114 in the new division 5. (See Cal. Const., art. IV, § 9; Gov. Code, § 9605.) We have no occasion in this case to address the meaning or effect of this seeming incongruity either.

All references to section 5114 in this opinion are to California Uniform Commercial Code section 5114 as it existed before the 1996 legislation.

The parties’ arrangements reflected a common use of letters of credit. A letter of credit typically is an engagement by a financial institution (the issuer), made at the request of a customer (also referred to as the applicant or account party) to pay a specified sum of money to another person (the beneficiary) upon compliance with the conditions for payment stated in the letter of credit, i. e., presentation of the documents specified in the letter of credit. (See Gregora, Letters of Credit in Real Property Finance Transactions (Spring 1991) 9 Cal. Real Prop. J. 1, 1-2.)

A letter of credit transaction involves at least three parties and three separate and independent relationships: (1) the relationship between the issuer and the beneficiary created by the letter of credit; (2) the relationship between the customer and the beneficiary created by a contract or promissory note, with the letter of credit securing the customer’s obligations to the beneficiary under the contract or note; and (3) the relationship between the customer and the issuer created by a separate contract under which the issuer agrees to issue the letter of credit for a fee and the customer agrees to reimburse the issuer for any amounts paid out under the letter of credit. (Gregora, Letters of Credit in Real Property Finance Transactions, supra, 9 Cal. Real Prop. J. at p. 2; San Diego Gas & Electric Co. v. Bank Leumi, supra, 42 Cal.App.4th at pp. 932-933; see Voest-Alpine Intern. Corp. v. Chase Manhattan Bank (2d Cir. 1983) 707 F.2d 680, 682, and Colorado Nat. Bank, etc. v. Bd. of County Com’rs (Colo. 1981) 634 P.2d 32, 36-38, for a discussion of the history and structure of letter of credit transactions.)

Letters of credit can function as payment mechanisms. For example, in sales transactions a letter of credit assures the seller of payment when parting with goods, while the conditions for payment specified in the letter of credit (often a third party’s documentation, such as a bill of lading) assure the buyer the goods have been shipped before payment is made. (Gregora, Letters of Credit in Real Property Finance Transactions, supra, 9 Cal. Real Prop. J. at p. 3.) In the letter of credit’s role as a payment mechanism, a payment demand occurs in the ordinary course of business and is consistent with full performance of the underlying obligations. (Ibid.)

The use of letters of credit has now expanded beyond that function, and they are employed in many other types of transactions in which one party requires assurances the other party will perform. (Gregora, Letters of Credit in Real Property Finance Transactions, supra, 9 Cal. Real Prop. J. at p. 3.) When used to support a debtor’s obligations under a promissory note or other debt instrument, the so-called “standby” letter of credit typically provides that the issuer will pay the creditor when the creditor gives the issuer written certification that the debtor has failed to pay the amount due under the debtor’s underlying obligation to the creditor. (Ibid.) Thus, a payment demand under a standby letter of credit indicates that there is a problem— either the customer is in financial difficulty, or the beneficiary and the customer are in a dispute. (Ibid.)

The “ ‘presumption of substantial change’ ” mentioned in the quoted passage refers to the presumption that amendatory legislation accomplishing substantial change is intended to have only prospective effect. Some courts have thought changes categorized as merely formal or procedural present no problem of retrospective operation. However, as mentioned above, California has rejected this type of classification: “In truth, the distinction relates not so much to the form of the statute as to its effects. If substantial changes are made, even in a statute which might ordinarily be classified as procedural, the operation on existing rights would be retroactive because the legal effects of past events would be changed, and the statute will be construed to operate only in futuro unless the legislative intent to the contrary clearly appears.” (Aetna Cas. & Surety Co. v. Ind. Acc. Com., supra, 30 Cal.2d at p. 394; cf. Kizer v. Hanna, supra, 48 Cal.3d at pp. 7-8.)

Section 2 of Senate Bill No. 1612 added Code of Civil Procedure section 580.5, which provides in pertinent part: “(b) With respect to an obligation which is secured by a mortgage or a deed of trust upon real property or an estate for years therein and which is also supported by a letter of credit, neither the presentment, receipt of payment, or enforcement of a draft or demand for payment under the letter of credit by the beneficiary of the letter of credit nor the honor or payment of, or the demand for reimbursement, receipt of reimbursement or enforcement of any contractual, statutory or other reimbursement obligation relating to, the letter of credit by the issuer of the letter of credit shall, whether done before or after the judicial or nonjudicial foreclosure of the mortgage or deed of trust or conveyance in lieu thereof, constitute any of the following: [¶] (1) An action within the meaning of subdivision (a) of Section 726, or a failure to comply with any other statutory or judicial requirement to proceed first against security. [¶] (2) A money judgment for a deficiency or a deficiency judgment within the meaning of Section 580a, 580b, or 580d, or subdivision (b) of Section 726, or the functional equivalent of any such judgment. [¶] (3) A violation of Section 580a, 580b, 580d, or 726.” (Code Civ. Proc., § 580.5, subd. (b), as added by Stats. 1994, ch. 611, § 2.)

Section 4 of Senate Bill No. 1612 made certain technical, nonsubstantive changes to section 5114, which embodies the independence principle applicable to letter of credit payment obligations. (§ 5114, as amended by Stats. 1994, ch. 611, § 4.)

We do not address the effect of section 3 of Senate Bill No. 1612, which added section 580.7 to the Code of Civil Procedure. This section provides, in pertinent part: “(b) No letter of credit shall be enforceable by any party thereto in a loan transaction in which all of the following circumstances exist: [¶] (1) The customer is a natural person. [¶] (2) The letter of credit is issued to the beneficiary to avoid a default of the existing loan. [¶] (3) The existing loan is secured by a purchase money deed of trust or purchase money mortgage on real property containing one to four residential units, at least one of which is owned and occupied, or was intended at the time the existing loan was made, to be occupied by the customer. [¶] (4) The letter of credit is issued after the effective date of this section.“ (Code Civ. Proc., § 580.7, subd. (b), italics added, as added by Stats. 1994, ch. 611, §3.) The italicized language, not found in the other statutory changes made by Senate Bill No. 1612, suggests the Legislature intended section 580.7 to have prospective effect only. However, this case does not involve any interpretation of this section or its effect, and so we express no view on those matters.

The precedential value of such statements in Commonwealth Mortgage also is clouded by a factual enigma the court left unresolved. As the Court of Appeal recognized, the lender in that case purchased the real property security at the trustee’s sale for a full credit bid, which ought to have satisfied the debt. (Commonwealth Mortgage, supra, 211 Cal.App.3d at p. 512, fn. 3.) Despite the apparent absence of any deficiency, the court deemed it unnecessary to decide whether a deficiency in fact remained before discussing the effect of Code of Civil Procedure section 580d’s prohibition of deficiency judgments. (Commonwealth Mortgage, supra, 211 Cal.App.3d at p. 515.)

To the extent that resort to analogy is appropriate for such a singular legal creation as the standby letter of credit, its closest relative would seem to be cash collateral. As one commentator noted: “In view of the relative positions of the beneficiary, the [customer], and the issuing bank, the standby letter of credit is more analogous to a cash deposit left with the beneficiary than it is to the traditional letter of credit or to the performance bond. Because the beneficiary generates all the documents necessary to obtain payment, he has the power to appropriate the funds represented by the standby letter of credit at any time. . . . Pfl] Even though the standby letter of credit is functionally equivalent to a cash deposit, it differs from a cash deposit because the customer does not have to part with its own funds until payment is made and it is forced to reimburse the issuing bank. Because the cash-flow burden might otherwise be prohibitive, this is a great advantage to a party who enters into a large number of transactions simultaneously. Moreover, the beneficiary is satisfied; while it does not actually possess the funds, as it would if a cash deposit were used, it is protected by the credit of a financial institution.” (Comment, The Independence Rule in Standby Letters of Credit (1985) 52 U. Chi. L.Rev. 218, 225-226, fns. omitted; see Dolan, Letters of Credit, supra, § 1.06, pp. 1-24 to 1-25, for a discussion of cases illustrating use of standby credits in lieu of cash, bonds, and other security.)

Westem belatedly claims it should not be liable for prejudgment interest on the amount of the letter of credit it dishonored. It argues it should not be “punished” for seeking a declaration of its rights in a novel and complex case. The Court of Appeal decided that “if it is ultimately determined that Western is liable to the Bank on the letters of credit then it must follow that it is liable for legal interest thereon from and after the day when its obligation to pay on the letters arose. (Civ. Code, § 3287, subd. (a).)” Western did not petition for review of this aspect of the Court of Appeal decision. In any event, Western’s liability for prejudgment interest is clear. The award of this interest is not imposed for the sake of punishment. The award depends only on whether Western knew or could compute the amount the Bank was entitled to recover on the letters of credit. (Fireman’s Fund Ins. Co. v. Allstate Ins. Co. (1991) 234 Cal.App.3d 1154, 1173 [286 Cal.Rptr. 146].) The Court of Appeal correctly assessed Western’s liability for prejudgment interest.