Trump Official Accused of Attacking Cops Is a ‘Danger to the Community,’ Judge Says