Turkey and HTS

How can the head of Turkey's MIT and the Turkish foreign minister engage with HTS, a group designated as a terrorist organization by the UN, the US, Turkey, and other countries, while simultaneously accusing the PKK of terrorism? Does this not reflect a double standard?