Assume that China and Japan have such a contract, assume that this contract promotes a marriage, and then assume that this marriage is related to peace between the two countries.
Then, what interesting things will happen next? Where will the heroine's emotional issues go?
It's purely fiction, don't take it seriously.