That's not strictly true. Any court can decide that a law is not enforceable within its jurisdiction -- but a higher court can overturn that decision. The Supreme Court comes into it because at that point there's no higher court that can overturn a decision. All that can happen at that point is passage of a different version of the law that doesn't suffer the same issues or an amendment to the Constitution.