legal ground
Article 1076 of the Civil Code of People's Republic of China (PRC)
If the husband and wife voluntarily divorce, they shall sign a written divorce agreement and apply for divorce registration in person at the marriage registration office.
The divorce agreement shall specify the expression of willingness of both parties to divorce and the consensus on matters such as child support, property and debt disposal.
Article 69 of the Interpretation of the Supreme People's Court on the Application of Compilation of Marriage and Family (I)
If both parties fail to get a divorce, and one party goes back on his word in the divorce proceedings, the people's court shall consider that the property and debt settlement agreement has not come into effect, and make a judgment according to the actual situation and the provisions of Articles 1087th and 1089th of the Civil Code.
The provisions on property and debt disposal in the divorce agreement signed by both parties according to Article 1076 of the Civil Code are legally binding on both men and women. After the divorce registration, the people's court shall accept the lawsuit brought by the dispute arising from the performance of the above agreement.