Judges back ban on hooligans