“In one view, when the CS gas was sprayed, everyone was incapacitated and on the floor and chaos ensued.

“Baraglia is under no illusions, he is already serving a sentence and I would ask the court to restrict it as much as possible, but Jarvie has no previous convictions.”

Sheriff Frank Pieri imposed the jail sentence on Baraglia, attributing four weeks of it to the fact that he was on bail at the time, saying: “Given your record, there is no alternative to a custodial sentence.”

He told first-time offender Jarvie: “You’re in a different situation.

“The community payback order, because of the serious nature of this matter, is a direct alternative to custody.”