Later cases have held that it can be. Calling for imminent lawless actions isn't, but claiming a law is unjust and generally shouldn't be followed is usually protected speech.
A law that prohibited anti-war speech. You might as wall say that murderers don't go to jail for killing someone, they go to jail for breaking the law. It's an entirely pointless technicality.