That is correct
However, I thought as of this month, BKK has joined most other modern airports in having the airlines pre-collect departure tax at ticket issuance.
The trick is how to get a pre-paid departure tax back, in the circumstances described by sfvoyager above...