Turkey's right to try coup plotters 'legitimate': EU