A federal judge has blocked the Trump administration's attempt to use Justice Department public-safety grant programs to discourage so-called sanctuary city policies aimed at protecting undocumented immigrants.Acting on a lawsuit brought by the City of Chicago, U.S. District Court Judge Harry Leinenweber issued a nationwide preliminary injunction Friday prohibiting the Justice Department from adding new grant conditions requiring cities to allow immigration agents access to local jails and insisting that local authorities give advance notice when suspected illegal immigrants are about to be released from custody."Congress may well have Spending Clause power to impose the conditions or delegate to the Executive Branch the power to impose them, including the notice and access condition, but it must exert that power through statute," wrote Leinenweber, a Reagan appointee.