Under DTA, you will pay tax in UK. It is very, very difficult to opt out of paying tax in UK, if not impossible! Then as a Thai tax resident, the tax paid in UK will be credited against any tax owing in Thailand. Proof of this would be a P60.
Therefore you have only paid the tax once and no tax to pay in Thailand.