In a PUKHET publication they say this:
"However, all foreigners who reside in the country on another type of visa, in particular Non-Immigrant O visas granted to foreigners married to a Thai woman and in charge of a Thai family as well that business visas, must obtain a letter from their embassy asking permission to stay in the country "
In my opinion it is false but I wanted to check with you.