The ruling marks the first time in UK legal history that protesters convicted of criminal damage face a ‘terrorism connection’ upon sentencing