Feeling intimidated by Allen's behaviour, staff sought assistance.
The victim and other officers decided to forcibly remove him from the search room.
Allen positioned himself in a corner and stiffened his body, making it difficult for the officers to control him.
He was taken to the ground after a struggle.
Attempts were made to turn him on to his stomach for handcuffing.
During the attempts, Allen grabbed the victim's genitalia and pinched hard while shouting abuse.
His grip was broken after a few seconds when the victim moved.
Allen was restrained after a lengthy struggle in which he and three officers sustained minor injuries.
He was verbally abusive and threatening throughout the incident.
Judge John Macdonald took into account there had already been significant consequences for Allen, one being revocation of his parole release date.