Turkey's appeal on detention going to ECHR