An interesting side note for us (UK) youngsters 🙃 ...pension tax free lump sums (although that is not the correct term for them). Paid 'tax free' for uk tax residents, but arguably could be assessable income if thai tax resident and remitted of course.
I think the brit expats in spain had this issue. Not sure how it was resolved.