NAACP's Barber in court on legislative protest charges