The judgement ruled that officers were wrong to have taken part in Newcastle’s Pride parade last year