Prosecutor Neil King told the court Ashley Gill-Webb threw a bottle in the hushed stadium just as the race was about to get under way:
He threw a green Heineken bottle in a lobbing motion that was captured on CCTV.
This bottle landed extremely close to the athletes and it's probably luck rather than Mr Gill-Webb's judgment that it did not do anything far more serious.
More top news
The Home Office has launched an advertising campaign which aims to deter people from carrying weapons.
Hundreds of pupils from Alperton Community School in Brent, London,cheered and waved flags as Andria Zafirakou arrived holding the prize.
Earlier, this week Kensington and Chelsea Council admitted spending almost £21 million keeping survivors in hotels.