A man is being detained by police officers in a courtroom.