The email accounts of furloughed government workers had been commandeered to send partisan attacks against Democrats, a move that the ruling said had "added insult to injury."
Judge Sara L. Ellis said she saw "little reason for the use of force that the federal agents are currently using," and said Gregory Bovino, a Border Patrol official, had lied about his use of tear gas in Chicago.