A party may avoid the contract if the contract would result in a breach of the QFC Law or any Regulations or rules made pursuant thereto or would be illegal under any of the mandatory or criminal laws of the State or other state where the obligations are to be performed.