The man, who was attending court on non-criminal matters yesterday, allegedly headbutted a security guard in the face when he was asked to leave.
The Otago Daily Times understands the man also allegedly kicked and spat at another guard trying to restrain him.
The defendant was charged with injuring with intent to injure, assault and four charges of resisting police.
When he appeared in the dock following his arrest the man appeared agitated, with blood smeared on his forehead.
Judge Duncan Harvey refused bail and remanded the man in custody to appear later this month.