OPINION
1. A Texas oil well operator, McDonnold Operating Company [Operator], contracted in Texas with a Texas driller, McGee Drilling Corporation [Driller], to drill an oil well in New Mexico. The contract declared that Texas law governed, and it called for Operator to indemnify Driller for injuries to all persоns except Driller’s employees. Such indemnity provisions, though void under New Mexico law, are valid under Texas Law in certain circumstances. Plaintiff, William Reagan [Plaintiff], another company’s employee, was injured during the operation, apparently through Driller’s negligence, and Driller sought indemnification from Oрerator. We must decide whether the indemnity provisions are so offensive to New Mexico public policy that we should not enforce them. We conclude that the indemnity provisions are enforceable under either our conflict of laws rules or the parties’ own choice of law because they do not promote a policy at odds with New Mexico policy, nor do they violate some fundamental principle of justice or rule of public morals. We affirm.
FACTS
2. On August 17, 1994, Plaintiff, an employee of Halliburton Energy Services, was working on an oil rig in Lea County, New Mexico, when a stabbing board on which he was standing сollapsed. Plaintiff fell to the floor of the rig and suffered injuries. The stabbing board belonged to Driller. Driller had control and custody of the defective stabbing board, and Operator did not.
3. Plaintiff sued Driller, Operator, and other defendants for injuries resulting from his fall. Driller and Operator cross-claimed for indemnity against eaсh other. Driller based its claim on the indemnity provisions in its drilling contract with Operator; Operator based its claim on a common law theory of indemnification. Plaintiff settled with all defendants, and the only remaining issue is the indemnity cross-claims between Driller and Operator.
4. The parties, both Texas corporations, nеgotiated and signed the drilling contract in Midland, Texas. The contract contained mutual indemnity provisions. The indemnity provisions of the contract applicable to this case stated:
18.11 Operator’s Indemnification of Contractors: Operator agrees to protect, defend, indemnify, and save Contraсtor [Driller], its officers, directors, employees and joint owners harmless from and against all claims, demands, and causes of action of every kind and character, without limit and without regard to the cause or causes thereof or the negligence of any party or parties, arising in connection herewith in favor of Operator’s employees or Operator’s contractors or their employees or Operator’s invitees other than those parties identified in Paragraph 18.10 [in which Driller agreed to indemnify Operator for the claims of Driller’s employees] on account of bodily injury, death or damage to property. Operator’s Indemnity shall be without regard to and without any right to contribution from any insurance maintained by Contractor [Driller] pursuant to paragraph 16.
18.15 Indemnity Obligation: Except as otherwise expressly limited herein, it is the intent of parties hereto that all indemnity obligations and/or liabilities assumed by such рarties under terms of this Contract, including without limitation, paragraphs 18.1 through 18.14 hereof, be without limit and without regard to the cause or causes thereof (including pre-existing conditions), the unseaworthiness of any vessel or vessels, strict liability, or the negligence of any party or parties, whether such negligence be solе, joint or concurrent, active or passive.
Section 23 of the contract declared that the contract should “be governed and interpreted under the laws of TEXAS.”
5. The trial court found that: (1) Texas law should govern because New Mexico follows the law of the place of contract in resolving сonflict of laws questions; (2) the parties intended Texas law to govern the contract by placing the choice of law provision in the contract; and (3) Operator was required to indemnify Driller pursuant to the contract for any negligence action “arising in connection herewith in favor of operаtor’s employees or operator’s contractors or their employees.” Operator now appeals, and we affirm.
DISCUSSION
6. Ordinarily, we would first need to decide which state’s law to apply to a dispute between parties that is being litigated in a New Mexico forum, but that involves Texas parties and a Texas contract that stipulates Texas law as governing. The Restatement (First) of Conflict of Laws (1934) derived its rules from the vested rights doctrine and provided that issues of validity of contractual provisions were to be determined by the local law of the place of contracting. Restatement (Second) оf Conflict of Laws, Intro. Note to Ch. 8, Contracts, p. 557 (1971). Noting that the vested rights doctrine had not prevailed in the courts, id., the Restatement (Second) of Conflict of Laws adopts the rule that the law to be applied may be chosen by the parties and otherwise is determined by an interest analysis. Restatement (Secоnd) of Conflict of Laws, §§ 186-188 (1971).
7. Our Courts have strongly endorsed the view that the rights of the parties to a contract are primarily determined by the terms of the contract. United Wholesale Liquor Co. v. Broum-Forman Distillers Corp.,
8. We need not decide the issue in this case, however, because Texas law would be applied whether we followed the first or second Restatement. The formulations of what law is to be applied and what exceptions may apply is similar under either Restatement. When the conflict of laws rules lead to the law of a state whose law differs from that of the forum or when the parties have chosen a law different from the forum, the rule is that the forum may decline to apply the out-of-state law if it оffends New Mexico public policy. United Wholesale Liquor Co.,
9. It is said that courts should invoke this public policy exception only in “extremely limited” circumstances. Tucker v. R.A Hanson Co.,
10. This framework of the choice of laws rules, with its public policy exception, requires us to ask whether the indemnity clause in the contract at issue violates New Mexico public policy. NMSA 1978, Section 56-7-2 (Repl.Pamp.1996), New Mexico’s anti-indemnity statute pertaining to oil well contracts, states:
A Any agreement, covenant or promise contained in, collateral to or affecting any agreement pertaining to any well for oil, gas or water, or mine for any mineral, which purports to indemnify the indemnitee against loss or liability for damages, for:
(1) death or bodily injury to persons; or
(2) injury to property; or
(3) any other loss, damage or expense arising under either Paragraph (1) or (2) or both; or f
(4) any combination of these, arising from the sole or concurrent negligence of the indemnitee or the agents or employees of the indemnitee or any independent contractor who is directly resрonsible to the indemnitee, or from any accident which occurs in operations carried on at the direction or under the supervision of the indemnitee or an employee or representative of the indemnitee or in accordance with methods and means specified by the indemnitee or employees or representatives of the indemnitee, is against public policy and is void and unenforceable. This provision shall not affect the validity of any insurance contract or any benefit conferred by the Workmen’s Compensation Act [Chapter 52, Article 1 NMSA 1978],
(Emphasis added.) The policy behind this stаtute is to promote safety by giving both the operator and the subcontractor an incentive to know that each will be responsible for its own share of negligence. Amoco Prod. Co. v. Action Well Serv., Inc.,
11. Texas also has an oilfield anti-indemnity act, Tex.Civ.Prac. & Rem.Code Ann. §§ 127.001 to 127.008 (Vernon 1986), which declares certain indemnity agreements “void,” § 127.003, and “against public policy,” § 127.002. However, it permits indemnity agreements under certain circumstances. Under Texas law, there are two requirements indemnity agreements must meet to be valid. First, indemnity agreements must provide for insurance coverage under Section 127.005. Second, the parties must expressly contract in specific terms to indemnify the indemnitee’s own negligence. See Dupre v. Penrod Drilling Corp.,
12. Driller argues that the Texas policy behind its anti-indemnity statutes is the same as New Mexico’s policy of promoting safety announced in Amoco Prod. Co.,
13. Behind New Mexico’s anti-indemnity statutes lies a policy of promoting safety by making sure responsible parties compensate plaintiffs injured in oilfields. Amoco Prod. Co.,
14. This analysis is not inconsistent with our Supreme Court’s holding in Amoco Prod. Co. In that case, the indemnitee, Amoco Production Company, sought enforcement of an indemnity contract provision.
15. New Mexico does have a strong public policy in favor of freedom to contract which requires enforcement of contracts unless “they clearly contravene some law or rule of public morals” or “violate some fundamental principle of justice.” United Wholesale Liquor Co.,
16. In the present case, the indemnity provisions are valid under Texas law, whose public policy is consistent with New Mexico’s. Furthermore, the indemnity provisions do not touch upon any rule of public morals. They do not rise to the level of violаting “some fundamental principle of justice, some prevalent conception of good morals____” Loucks,
CONCLUSION
17. We hold, therefore, that the indemnity provisions requiring Operator to indemnify Driller for Driller’s own negligence are enforceable in New Mexico. Having decided that Operator must indemnify Driller according to the parties’ agreement, we do not need to address Operator’s cross-claim for common law indemnification from Driller.
18. We affirm.
19. IT IS SO ORDERED.
