I fully understand the laws here. If the house is considered marital property, both contributed in some way, it will be split 50/50. If the foreign spouse paid 100% for the house and prove it by bank transfers from overseas and build receipts, which I did, they are entitled to reimbursement from the Thai spouse by Thai law, which the court has to follow. In our divorce, she tried to get the house, as my ex in Texas did, and couldn't because I paid that 100%. If a Thai court deviates from established legal principles or statutory interpretations regarding a property funded by a foreigner, the primary remedy is to file an appeal to the Court of Appeal or the Supreme Court pointing out errors of law or procedure. Worst case scenario the court has to divide all assets 50/50.