Human rights campaigners: terrorist ruling amounts to a ‘perversion of justice’