Duncan Penny, prosecuting, told the trial Charles had been trying to get free beer at the bar at the promotional event organised by BlackBerry, the company Mr Sherriff worked for.
CCTV showed Charles grabbing the bottle and plunging it into Mr Sherriff's neck.
It happened very, very quickly indeed - perhaps one second, one second to take a life.
Mr Sherriff began to bleed profusely as vital blood vessels had been cut.
Mr Penny said the clash came about just after midnight after Jessie J and other performers had left.
As people tried to help Mr Sherriff, Charles was detained by security staff.
More top news
Rahman was ejected from his powerful job in April by an Election Commissioner after being accused of corrupt and illegal practices.
The service was due to start in September but there is no agreement on pay and conditions such as how many night shifts staff will work.
Would you know what to do if you needed help? Here's the official advice from the Foreign Office.