Robin Hansen was caught with his pants down by a security guard at Dunedin City Library.
The problem with the thrill of potentially being caught is: sometimes you get caught.
A man caught masturbating in the Dunedin City Library appeared in the Dunedin District Court yesterday after previously pleading guilty to doing an indecent act.
It was not the first time Robin Keith Hansen, 49, of Dunedin, had been collared on such matters.
Judge Kevin Phillips said Hansen racked up convictions during the 1990s for other lewd displays, and also for committing indecencies with animals.
On March 28 at 6.20pm, Hansen positioned himself between stacks on the ground floor of the Moray Pl library.
Libraries manager Bernie Hawke said the incident was one of two in a matter of days in March, but it had been an extended period since earlier flashpoints.
He said the library was equipped with CCTV, security staff were employed and there was a focus on the safety of staff and customers.