A police patrol spotted a man urinating on the street in Portrush in full view of pedestrians and motorists at a time when the area was “very busy” around 9pm on St Patrick’s Day.
The intoxicated man then became aggressive towards officers, Coleraine Magistrates Court heard on Monday.
Thomas David Marshall Sheppard, of Knockbracken Court in Coleraine, turned 32 the day after the offences which were detected on Sunday March 17 this year.
He pleaded guilty to charges of disorderly and indecent behaviour.
The defendant had been in breach of a suspended sentence.
Defence solicitor Garrett Greene said the defendant had consumed too much alcohol and because of that he failed to “properly engage with police”.
However, in sobriety, the defendant did not cause officers any difficulties, the court heard.
District Judge Mark McGarrity told the defendant, who works for an engineering firm, he was lucky he was not going to prison but that a report from the Probation Service had been “good”.
The defendant was fined £450.