@Ručman **********
I guess things got mixed up with translations, as you can not change an Extension of Stay based on marriage into a new type of visa.
And that is the reason that he told you to apply at a Thai Consulate and the Extension of Stay ends if there is no re-entry permit at leaving the country.