Twelve police officers and a police dog were injured in the disorder as missiles including wheelie bins and chairs were thrown.

Judge William Mousley KC, who had also precided over Digwa’s trial, told Southampton Crown Court that the violence was a “hate crime, borne out of hatred of the police and in some cases racist views”.

The court heard father-of-two Daniel Frost, originally from Cornwall, admitted possessing a dog lead with a metal carabiner as an offensive weapon, during the disorder.

The judge said Frost threw two chairs and a bin into the road and carried a dog lead which had been adapted to use as an offensive weapon.

The court heard the defendant had later referred to the incident as “today’s fun” and a “big party”.

Reece Robinson’s defence lawyer, Bridget O’Hagan, said he had a “completely clear record, not even a parking ticket”.

Judge Mousley said Robinson had “brought shame” on his family as the court heard he was at the front of the crowd, close to the police cordon and threw two stones or bricks at officers.

Prosecutor Siobhan Linsley told the court Andrew Summerhayes, who had 25 previous convictions for 45 offences, “rammed” a large bin into the police.

His defence said he had a two-year-old daughter “who benefits from a close and active relationship with her father”.

Judge Mousley said he was “at the forefront of serious public disorder”.