Federal prosecutors could still attempt to secure an indictment from a grand jury, the ruling represents a significant defeat for Trump’s DOJ