Jean-Claude Juncker has said the European Parliament "must respect British democracy" following last week's EU referendum.
Speaking at an emergency session to discuss the Brexit vote, the European Commission President's comment was met with applause by the parliament - and a slow clap by Nigel Farage.
Juncker turned to the UKIP MEP and responded in an amused tone: "That's the last time you are applauding here."
"And to some extent I am surprised you are here," he added. "You were fighting for the exit. The British people voted in favour of the exit, why are you here?"
More top news
Mixed fortunes across the UK tomorrow. Still breezy across the north.
The Labour leader said socialist politics would not be put "back in a box" as he appeared on stage at the festival.
There are reports that at least some MPs and Lords have been left unable to access their emails as a result of the attack.