The incident happened in Dublin's East Wall area - and the man admitted it was stupid, and a judge agreed