In general, a divorce agreement signed between two parties in a foreign country would be recognized internationally as long as it meets the requirements of the Hague Convention on the Recognition of Divorces and Legal Separations. However, the recognition and enforcement of such an agreement in another country may depend on the specific laws of that country and the details of the agreement.
For example, some countries may require that the agreement be registered with a court or government agency in that country before it can be enforced, while others may only recognize a foreign divorce agreement if both parties were given a fair and reasonable opportunity to participate in the proceedings. Additionally, if there are issues related to child custody or property division that were not adequately addressed in the foreign divorce agreement, further legal proceedings may be necessary in order to resolve these matters.
It is also worth noting that even if a foreign divorce agreement is recognized in another country, it may not necessarily be binding in all circumstances. For example, if one of the parties can demonstrate that the agreement was entered into under duress or undue influence, or if it violates public policy in the country where it is being enforced, a court may refuse to enforce it.
In short, while a foreign divorce agreement may be a valid and binding legal document in some circumstances, various factors, including the laws of the country where it is being enforced, may ultimately determine its effectiveness and enforceability.