Turkey's foreign ministry calls court ruling unfair