Turkey has vowed to take "legal