Judge throws out activist for misconduct in court