What about state law, though? Wouldn't they have to win the State Supreme Court case and also get the state law amended?
San Francisco banned handguns decades ago. That was eventually ruled invalid because of state preemption, but SF had made its Grand Political Statement. CA taxpayers paid the legal costs. Yay.
Generally, taxes can't be challenged until they are actually collected (one famous example: Obamacare).