Luke Farley said: “Hats off to Judge Patricia Lynch. I think it was a reasonable response given the vile racist in front of her.”

Marc Thomas posted: “It is a bit hard to give children role models nowadays but Judge Patricia Lynch QC is definitely one.”

Following the incident, complaints have been made against Judge Lynch.

The Judicial Conduct Investigations Office (JCIO) handles complaints made about judges both inside and outside court.

A spokesman said: “The JCIO has received complaints regarding HHJ (Her Honour Judge) Patricia Lynch’s comment in court which will be considered in accordance with the Judicial Conduct (Judicial and other office holders) Rules 2014.”