The son of Pink Floyd guitarist David Gilmour shouted “we’re going to break all the laws” as he went on a rampage during the student fees protest, a court heard today.

Charlie Gilmour was pictured swinging from a Union Flag on the Cenotaph memorial during the march against tuition fee increases in December.

He pleaded guilty to violent disorder in May and appeared for sentencing at Kingston Crown Court in south west London today, accompanied by his rock star father and mother Polly Samson.

The court was shown CCTV footage of him in Parliament Square waving a plastic bag containing food and was heard to shout: “Let them eat cake”, the court heard.

He added: “We won't eat cake, we'll eat fire and ice and destruction because we're angry.”

In a second clip he said: "They broke the moral law, we're going to break all the laws."

Prosecutor Duncan Penny told the court that on that day the 21-year-old, from Billingshurst, leapt on the bonnet of a Jaguar car in a royal convoy containing Prince Charles and Camilla.

He is accused of throwing a rubbish bin that appeared to hit the car but this was disputed by his defence.

The Gilmour family own a farm near Billingshurst and a £3 million six-storey mansion in Hove.

After he was pictured on the Cenotaph the student apologised for the “terrible insult” to the country’s war dead.

Gilmour is due to be sentenced tomorrow morning.