Votre billet de train n'a absolument aucune valeur aux yeux de la compagnie aérienne donc si votre vol retour pour la France avait été au-delà des 30 jours elle ne vous aurait pas laissé embarquer.
Bonjour,
Comme souvent mentionné sur VF une preuve de sortie du territoire dans les 30 jours est parfaitement valable si elle est effectuée, par exemple, en train (billet réservé) :
thaiembassyuk.org.uk/en/visa-modern#section1
Foreigners entering Thailand under the Tourist Visa Exemption category must show the documents below at the port of entry:
Proof of adequate finances for the duration of stay in Thailand i.e. traveller’s cheque or cash equivalent to 10,000 Baht per person and 20,000 Baht per family.
Proof of onward travel (confirmed air, train, bus or boat tickets) to leave Thailand within 30 days of the arrival date (**otherwise a tourist visa must be obtained).
et ceci est repris, outre les données I.A.T.A TIMATIC dont le lien a déjà été mis en ligne ici :
www.iatatravelcentre.com/...ent-requirements.htm
dans les éléments publiés par les " alliances " (par exemple SKYTEAM) pour un ressortissant Français :

Passengers not holding onward/return tickets or other acceptable evidence of onward/return travel may be refused entry.
Edit sur TIMATIC pour information :
https://en.wikipedia.org/wiki/Timatic
Timatic is the database containing cross border passenger documentation requirements. Timatic stands for Travel Information Manual Automatic and is used by airlines to determine whether a passenger can be carried,
Je vous souhaite une excellente fin de journée.