There will be a G-20 treaty outlawing the conversion of gold to any G-20 currency.
You will need an export license to board an aircraft with gold, and, although you will still be able to sell gold for Thai bhat, getting it there will be a problem.
I heard that anyone caught leaving the country with more than five ounces of gold will be fined $10,000, serve a year in prison and have h8is/her gold confiscated.