West Ham United's Adrian during the match against Tottenham. Credit: Phil Cole/PA Wire

Dunn was chased by a steward after his effort as the crowd cheered on August 16.

He pleaded guilty today to a charge under Section 4 of the Football Offences Act 1991, which states it is illegal to go onto the pitch without an excuse or lawful authority.

The 22-year-old apologised for his "moment of madness" and was fined a total of £305 but spared a ban from future matches.

Passing sentence at Thames Magistrates' Court in East London, District Judge Gareth Branston said Dunn ran "some 70 yards" across the pitch to the spot where Tottenham were lining up a free kick.

You took it for them. To be frank you were probably a little tired by the time you got to the ball.

It was a longer run than was strictly necessary.

You had consumed alcohol and your stride pattern was a bit out of kilter but to borrow a phrase you did bend it like Beckham.

Regrettably it was about 30mph slower than Beckham.

– Judge Gareth Branston

The judge said Dunn's effort was "easily" saved by the goalkeeper but referring to Christian Eriksen's subsequent shot, he added: "I understand that the professional footballer who followed you did not do any better."