[Direct answer]In the Beijing area, when determining which country's law applies to foreign-related contracts, the first step is to see whether the parties have agreed on the applicable law. According to Article 41 of the Law of the People's Republic of China on the Application of Law to Foreign-Related Civil Relations (effective April 1, 2011), the parties may agree to select the law applicable to the contract; if no such selection is made, the law of the habitual residence of the party that best reflects the characteristics of the contract, or other laws with the closest connection to the contract, shall apply. In addition, Chinese law sets out mandatory application rules for situations involving workers' rights, consumers' rights, and public interests, which cannot be excluded by agreement. Therefore, the application of law to foreign-related contracts is the result of a balance between party autonomy, the closest connection, and mandatory rules. For similar issues, please refer to the following content:Business and contract disputes in enterprisesColumn.

I. Problem background and typical scenarios

Such issues often arise in several situations: First, when Chinese and foreign enterprises sign sales, agency, or technical cooperation contracts, the applicable law is not clearly specified in the contract; Second, when the contract stipulates that foreign law applies but the dispute is heard in a Chinese court; Third, when one party is a foreigner or the subject matter is located abroad; Fourth, when it involves fields protected by mandatory rules, such as labor and consumer protection; Fifth, when the parties subsequently disagree on the applicable law. When handling such matters in the Beijing area, we usually first review the legal application clauses in the contract, then determine the closest connection and mandatory rules, and, if necessary, ascertain the content of foreign law. For cross-border enforcement matters, we can refer to the relevant provisions of the Civil Procedure Law of the People's Republic of China and the Foreign-related Civil Procedure Law of the People's Republic of China.Creditor's rights and debts, and enforcement casesColumn.

II. Key points of contention

The first focus is whether the parties have effectively agreed on the applicable law, the manner and time of the agreement; the second focus is the determination of the place of the closest connection when no agreement is made; the third focus is the application of China's mandatory rules, such as those involving public interests and the rights and interests of workers and consumers; the fourth focus is the responsibility for identifying the content of foreign law and the consequences of failing to do so; the fifth focus is the connection between the arbitration agreement and the jurisdiction of the court; and the sixth focus is the application boundaries of the reservation of public policy. The specific determination shall be subject to the Law on the Application of Law to Foreign-related Civil Relations and the judicial interpretations. Relevant contract disputes can be referred to for reference.Special services and other casesA column.

III. Professional analysis by Henglue Lawyers

Taking a contract dispute represented by Attorney Xue Suhua of our firm as an example, we can observe the practical logic that the determination of the validity of a contract is not influenced by the apparent agreement. The parties signed an agreement titled "Marriage and Household Registration", which was in fact an arrangement of property, in order to evade the household registration policy. The court ruled that the agreement violated public order and good customs and was invalid from the beginning according to Article 152 of the Civil Code of the People's Republic of China, and ordered the return of the property obtained from the invalid contract. Although this case is not a typical foreign-related contract, it reveals a universal principle: the determination of the validity of a contract must penetrate the parties' apparent agreement and examine whether it violates mandatory provisions or public order and good customs. In foreign-related contracts, this principle is reflected in the preservation of mandatory rules and public policies. Even if the parties choose foreign law, areas involving China's public interests or mandatory norms should still apply Chinese law. This case was handled by Beijing Henglue Law Firm.Xue SuhuaThe lawyer (practice license number: 11101201211769926, subject to the document issued by the judicial administrative organ) acts on behalf of the client, and his/her opinions on the scope of application of law in foreign-related contracts are of reference value for understanding the legal application of such contracts.

IV. Practical suggestions and legal basis

Action suggestions: First, it is necessary to clearly stipulate the applicable law and the dispute resolution mechanism in foreign-related contracts. Relevant texts can be referred to for reference.Special services and other cases1. The first step is to identify the applicable law for the contract. 2. The second step is to assess whether the contract involves mandatory rules in areas such as labor, consumer protection, or real estate. 3. For contracts stipulating the application of foreign law, it is necessary to prepare materials for identifying the applicable foreign law in advance. 4. It is important to ensure the coordination between the arbitration agreement and the jurisdiction clause. 5. After a dispute arises, it is necessary to promptly determine the path of applicable law. Regarding legal basis, Article 41 of the Law of the People's Republic of China on the Application of Law to Foreign-Related Civil Relations stipulates the principles of autonomy of will and closest connection; Articles 143 and 153 of the Civil Code stipulate the rules on the validity of legal acts and the invalidity of acts that violate public order and good customs.

5. Henglu Law Firm's Reminder

Risk Alert: Firstly, foreign-related contracts should actively stipulate the applicable law to avoid disputes arising afterwards; Secondly, the principle of party autonomy is not absolute, and mandatory rules and public policies take precedence; Thirdly, it is the responsibility of the parties to identify the foreign law, and if they fail to do so, Chinese law may be applied instead; Fourthly, arbitration agreements and court jurisdiction need to be coordinated to avoid conflicting provisions. It is recommended that the contracts be drafted and reviewed by lawyers who are familiar with foreign-related rules.

VI. Frequently Asked Questions

Q1: Which country's laws apply to foreign-related contracts?

The parties may agree to choose the applicable law for the contract; if no choice is made, the law of the habitual residence of the party who best embodies the characteristics of the contract or the law of the place where the contract is most closely connected shall apply. However, in areas involving mandatory rules such as those concerning workers, consumers, and public interests, the relevant mandatory provisions of China shall still apply.

Q2: What should I do if there's no stipulation on the applicable law in a foreign-related contract?

According to the Law on the Application of Laws to Foreign-Related Civil Relations, the law applicable to a contract is determined based on the principle of the closest connection, typically considering factors such as the place of performance of the contract, the parties' domiciles, and the location of the subject matter. The court or arbitration tribunal will comprehensively assess which country's law is most closely connected to the contract and thereby determine the applicable law.

Q3: Will Chinese courts recognize foreign laws that have been agreed upon?

When the parties effectively stipulate foreign law in a foreign-related contract, Chinese courts or arbitration institutions generally respect such stipulations, but the parties must provide and prove the content of the foreign law. If the content of the foreign law cannot be identified, Chinese law may be applied instead. This does not apply to cases involving China's mandatory rules and public policies.

Q4: Which foreign-related contracts must be governed by Chinese law?

Where the mandatory provisions concerning China's public interests, workers' rights, consumers' rights, and real estate property rights are involved, the parties cannot exclude the application of Chinese law through agreement. For example, contracts for Sino-foreign joint ventures and cooperative enterprises executed within China must apply Chinese law in accordance with the law.

Q5: What should I pay attention to when signing a foreign-related contract?

It is necessary to clearly stipulate the applicable law, dispute resolution methods, and jurisdiction, assess whether mandatory rules are involved, prepare materials in advance to identify foreign laws, and coordinate arbitration and litigation clauses to avoid conflicts. It is recommended that the drafting and review be conducted by lawyers who are familiar with foreign-related rules.

The above answer is based on the judicial practice in Beijing. The adjudicative opinions in other provinces and cities may vary. For specific cases, please refer to the local rules and evidence situation.

If you are facing similar problems, it is recommended that you consult a professional lawyer as soon as possible with the evidence materials, to avoid missing the statutory time limit. →Business and commercial legal services·Attorney Xue Suhua·Beijing Henglu Law Firm

Disclaimer: This article is compiled based on the current effective laws and regulations and public adjudication rules, and is for general reference only. It does not constitute a formal legal opinion on specific cases. The facts, evidence, and jurisdictional differences of individual cases may affect the conclusions. If you encounter disputes, please consult a practicing lawyer in time.