A judge issued a temporary injunction on Monday barring some of the new directives implemented by District Attorney George Gascón, saying he cannot order his prosecutors to ignore laws that the judge says protect the public, including three-strike allegations and sentencing enhancements.