London police allege a man's stated intentions to have sex with a fence led to his arrest and a court appearance this week.

Prosecutor Philip Lemoine told Westminster Magistrates' Court that when police approached Daniel French in Leicester Square Gardens Sunday, the 24-year-old allegedly told them of his lascivious intent, The Daily Telegraph said Wednesday.

"He said words to the effect of: 'I'm going to have sex with that fence,'" Lemoine alleged in court this week.

"The gardens were locked and police asked French to leave. He was drunk and there were some sexual motions -- drunken silliness -- to the railings."

The defendant has admitted to be intoxicated and acting inappropriately, but has denied making lewd comments or advances to the fence.

"The suggestion that I was trying to do something sexual to the railings is disgusting," French said.

The Daily Telegraph said French ultimately was sentenced to time served and allowed to go free.