U.S. District Judge Tanya Walton Pratt issued the ruling on Friday.