A man is on the floor with his hands in the air as police detain him in a court.