Because your wife is signed by someone else, but she also has a power of attorney or judicial certificate, which is recognized by law, so your wife can't break the contract. If your wife breaks the contract, she will bear the corresponding legal sanctions.
It's best not to break the contract.
If you don't have a power of attorney or a letter of justice, you will have to look for the responsibility of the signatory on your behalf.