A man lashed out violently after taking exception to being asked to take off his hat at the Dunedin District Court today.
The 46-year-old male allegedly assaulted a court security staff member after they asked him to remove the hat, police said.
He was arrested and bailed to court next week.