In court on Thursday, Ms Joseph said the man was observed by witnesses on multiple occasions masturbating outside a property in Warrnambool and again at the police station, where he was placed in a cell with a view of the exercise yard, on October 6 last year.