Consul, Ltd. and Kenneth B. Wilson appeal from orders dismissing their complaints for failure to state claims. We reverse.
BACKGROUND
Consul is a North Carolina corporation of which Wilson is president. Wilson is licensed as a real estate broker in North Carolina, Georgia, and .several other states but not in California. Consul has no broker’s licenses. Actions brought by Consul and Wilson, one filed in North Carolina and transferred to California pursuant to 28 U.S.C. § 1404(a) (1982), the other filed in California, have been consolidated. Defendants include Raschid Zeghar, an Algerian citizen domiciled in California, and a group of corporations which own or operate the resort properties whose sale is at issue. 1
The complaints in the two actions are nearly identical. Allegations relating to property in the Bahamas, however, are found only in the North Carolina complaint. Plaintiffs allege that they agreed orally with defendants to perform certain real estate consulting and brokerage services. As a result of defendants’ breaches of those agreements, plaintiffs brought state court actions in California and North Carolina. After negotiations, plaintiffs and defendants reached a settlement agreement and the state court actions were dismissed. The settlement agreement provided, inter alia, that plaintiffs would receive the exclusive right to arrange for the sale of one property in the Bahamas and one in California and the non-exclusive right to sell a second California property. These three transactions are at issue in this case. The agreement also gave an exclusive right of sale to a North Carolina property not at issue in this case. It provided that it would be interpreted “under the laws of the state of North Carolina and California or either of them.”
*1146 The parties later entered into “Brokerage/Agency Agreements,” drafted by the defendants, that provided specifications for the sale of each of the four properties. The agreements relating to the two California properties and the property in the Bahamas provided that they would be interpreted under California law. The fourth Brokerage/Agency Agreement, involving the North Carolina property, provided that it was to be interpreted under North Carolina law.
The complaints allege that defendants did not cooperate with plaintiffs’ attempts to arrange the sales and attempted to make sales that violated the exclusive nature of the agreements. Plaintiffs claim damages for anticipatory breach, breach of contract, intentional interference with contractual relations and fraud. 2
The district court ruled that California law applied and dismissed the complaints for failure to state a claim. It held that because plaintiffs had no California broker’s licenses they could not maintain actions for breach of contract, and because in the absence of a license the settlement agreement was illegal, they could not maintain the related tort actions. Plaintiffs timely appeal.
STANDARD OF REVIEW
We review a dismissal for failure to state a claim and a district court’s interpretation of state law
de novo. Gibson v. United States,
DISCUSSION
1. Choice of Law
A federal court ordinarily applies the choice-of-law rules of the state in which it sits.
Piper Aircraft Co. v. Reyno,
The settlement agreement provides that it will be governed by California law, North Carolina law “or either of them.” This cryptic phrase takes on meaning when read with the choice-of-law provisions in the accompanying Brokerage/Agency Agreements. Because three of them had provisions choosing California law and one chose North Carolina law, it seems likely that the parties intended each transaction to be governed by the state law indicated by the corresponding brokerage agreement. Accordingly, we believe the parties intended California law to govern this case since the parts of the settlement agreement at issue relate to the brokerage agreements that provide that California law governs.
California and North Carolina courts treat contractual choice-of-law provisions in a similar fashion. California will honor the parties’ choice of law unless: (1) the chosen state has no substantial relation to the parties or the transaction; or (2) the choice results in a violation of California public
*1147
policy or the evasion of a California statute.
S.A. Empresa,
The “substantial relation” and “reasonable basis” language come from the application of
Restatement (Second) of Conflict of Laws
§ 187(2) (1971).
4
See Gamer v. duPont Glore Forgan, Inc.,
We also must consider whether any fundamental public policies might be offended by applying the parties’ choice of law. California obviously would not violate its own public policy by applying its own law. As noted, the public policy considered by North Carolina is that of the state of otherwise applicable law. In the absence of a valid contractual choice of law, North Carolina applies the law of the state in which the contract was “made” to determine questions of validity and interpretation of the contract.
Tanglewood Land Co. v. Byrd,
*1148 II. Merits
A. Statutory Framework
The district court relied on the plaintiffs’ failure to comply with California statutes that regulate real estate brokers to dismiss the case. “It is unlawful for any person to engage in the business, act in the capacity of, advertise or assume to act as a real estate broker ... within this State [California] without first obtaining a real estate license____” Cal.Bus. & Prof.Code § 10130 (West Supp.1986) (emphasis added). A real estate broker is defined, in part, as one who, for compensation or expectation of compensation, “[s]ells or offers to sell ..., solicits prospective sellers or purchasers of ..., or negotiates the purchase, sale or exchange of real property ...” for another. Cal.Bus. & Prof.Code § 10131(a) (West Supp.1986). Finally,
No person engaged in the business or acting in the capacity of a real estate broker ... within this State shall bring or maintain any action in the courts of this State for the collection of compensation for the performance of any of the acts mentioned in this article without alleging and proving that he was a duly licensed real estate broker ... at the time the alleged cause of action arose.
Cal.Bus. & Prof.Code § 10136 (West 1964) (emphasis added).
B. Dismissal of Contract Claims
A contract to perform acts barred by California’s licensing statutes is illegal, void and unenforceable.
In re Estate of Baldwin,
Plaintiffs also claim that if portions of the settlement agreement are illegal because of violations of the broker licensing statutes, we should treat the remaining portions as severable and honor them. Legal portions of contracts are severable from illegal portions where there is separate legal consideration attributable to the severed portion of the agreement.
See Mailand v. Burckle,
Each of the three potential sales transactions at issue has separate consideration attributed to it in the settlement agreement and therefore is severable from the others. However, plaintiffs apparently argue that the brokerage aspects are severable from other portions of the agreement. Since their only claim relates to damages for brokerage services rendered and for failure to comply with the brokerage portions of the agreement, their argument is unhelpful *1149 to them. Any portions of the settlement agreement severable from the arrangement to provide brokerage services are irrelevant to this case.
Defendants, on the other hand, argue that the entire settlement agreement is illegal because it calls for Consul, which has no licenses at all, to provide brokerage services. A contract under which an unlicensed party performs brokerage services is unenforceable, even by a licensed broker who acted pursuant to the same contract.
See In re Guardianship of the Estate of Prieto,
Whenever possible, courts interpret contractual language to uphold the validity of a contract.
See Walsh v. Schlecht,
Defendants claim that, in any event, the district court correctly dismissed the complaint because Wilson did not have a California license. We disagree. There is nothing in the complaint to indicate that Wilson performed any regulated acts in California. No California case decides whether the California licensing statutes apply to out-of-state acts relating to instate (California) realty performed by a broker licensed in another state. 5 The stat *1150 utes refer to acts within the state, and we hesitate to ignore this plain language.
In the absence of California authority, we look for guidance to courts in other jurisdictions to determine how California would decide an issue.
Takahashi v. Loomis Armored Car Service,
The latter group of cases find no interference with the public policy of the state in which the broker is not licensed in allowing recovery for services performed out of state,
Coldwell Banker,
*1151
California, itself, refused to require an Arizona license for an Arizona land transaction involving work done primarily in California by a licensed California broker.
Cochran,
The claims arising out of the Bahamas transaction also should have survived the motion to dismiss. The actions of a licensed North Carolina broker taken outside of California to effectuate the sale of property in the Bahamas for a Bahamian Corporation do not offend California licensing statutes. We note as well that the claims arising from the transaction were brought in a North Carolina court. Again, if the evidence demonstrates that Wilson performed brokerage activities in California, the motion to dismiss can be renewed.
8
See Hayter v. Fulmor,
C. Dismissal of Tort Claims
The district court found that the tort claims were barred because of the illegality of the contracts. California does not allow tort claims where proof of the illegality is necessary to establish plaintiffs case.
Wong v. Tenneco, Inc.,
CONCLUSION
Because there is nothing in the complaints that indicates that plaintiffs performed any regulated acts in California, dismissing the complaints for failure to state a claim was inappropriate. The California statutes apply only to acts per *1158 formed within California. We remand for further proceedings.
REVERSED and REMANDED.
Notes
. Paradise Beach Inn, Ltd., a Bahamian corporation which operates the Paradise Beach Inn Hotel, Restaurant and Pavilion in the Bahamas; Bel Air Sands Hotel Corporation, a California corporation that used to do business as the owner of the Bel Air Sands Hotel; B.A.S. Operating Company, which operated the Bel Air Sands Hotel; Socintec, S.A., a Panamanian corporation with offices in Geneva, Switzerland; Solide Enterprises, Inc., a California corporation, which owns the Hollywood Roosevelt Hotel properties; and HRH Operating Company, a California corporation that operates those properties.
Plaintiffs originally brought suit in North Carolina against all current defendants and others since dismissed. They later brought the California suit against Solide and HRH, and dismissed those defendants from the North Carolina action.
. Defamation claims were dismissed voluntarily.
. Both North Carolina and California courts have deferred when the parties assume one state’s law applies.
See Glickman v. Collins,
. Section 187. Law of the State Chosen by the Parties
******
(2) The law of the state chosen by the parties to govern their contractual rights and duties will be applied, even if the particular issue is one which the parties could not have resolved by an explicit provision in their agreement directed to that issue, unless either (a) the chosen state has no substantial relationship to the parties or the transaction and there is no other reasonable basis for the parties’ choice, or
(b) application of the law of the chosen state would be contrary to a fundamental policy of a state which has a materially greater interest than the chosen state in the determination of the particular issue and which ... would be the state of the applicable law in the absence of an effective choice of law by the parties.
. Defendants claim that
Sheble v. Turner,
Defendants also rely on a California real estate treatise for the proposition that the licensing statutes do apply to out-of-state acts concerning California land. See H. Miller & M. Starr, Current Law of California Real Estate § 6.7 (Supp.1985). However, the treatise cites no authority for this proposition.
. Defendants cite several cases for the proposition that "the broker seeking to recover compensation must be licensed by the state in which the action is brought
and
in which the property is located____” In these cases, however, either plaintiffs performed some act in a state in which they were not licensed or there was no indication that they had not.
See Marina Management Corp. v. Brewer,
. The strictness with which California enforces its licensing scheme suggests that
any
regulated actions within California will bar plaintiffs’ contract claims.
See In re Guardianship of the Estate of Prieto,
. Because we conclude that California law does not bar these claims, we see no conflict with policies of North Carolina and Georgia. Both of these states have licensing schemes similar to California’s.
See
Ga.Code §§ 84-1401 — 84-1404 (1985
&
1986 Supp.); N.C.Gen.Stat. §§ 93A-1, 93A-2 (1985). These schemes would not be frustrated by allowing a licensed North Carolina broker to recover for acts that may have been performed entirely in North Carolina. Because
de minimis
brokerage activity in California would bar recovery under California law, a North Carolina court might reject the parties’ choice of law if the facts demonstrate that most of Wilson’s services were performed in North Carolina. It would not seem to accord with North Carolina’s public policy to allow defendants to avoid payment for services actually rendered by a licensed North Carolina broker merely because some small portion of the services were performed in California.
See Cochran,
. Plaintiffs raised alternative claims in their complaints, which were not addressed by the district court. Because we reverse the district court's dismissal of the primary claims we do not address the alternative claims.
