With a new national push to combat gun violence, the city of Seattle has begun to tax firearms and ammunition in an audaciously creative way to get around Second Amendment protections on guns. The tax has passed its first court test, signaling an approach that other municipalities could adopt, with a $25 tax on every firearm sold in the city, 2 cents on every round of .22 caliber ammunition, and a 5-cent tax for every other round of ammunition.

The tax went into effect on Jan. 1 after surviving a challenge from the National Rifle Association and other gun-rights groups when King County Superior Court Judge Palmer Rubinson ruled in December that Seattle has the “constitutional and legislative authority to impose taxes”—which, as s he noted, is separate from the city’s ability to regulate guns.

City attorney Pete Holmes was initially surprised the NRA didn’t ask for a stay in the judge’s ruling when filing its appeal Monday in state court. If the NRA sought constitutional relief, they would have appealed in federal court. But, from a legal standpoint, this isn’t about the Constitution. “Everybody assumes this is about the Second Amendment, but it’s not, and that’s the story,” Holmes told The Daily Beast in a telephone interview.

“No one is telling you that you can’t own or buy a gun,” says Holmes. “We believe we are in a safe haven. We’re not regulating guns; we’re simply adding a tax.”

In Seattle, satisfying the Second Amendment is easier for gun-safety advocates than clearing “State Preemption,” a legislative barrier that the NRA employs to block gun-safety regulation in some three-dozen states, including Washington. It’s a short statute the gun rights lobby writes and then muscles through state legislatures; it says no other body, such as the municipal authorities in cities like Seattle, can regulate firearms. The NRA’s Institute of Legal Action (ILA) churns out the statutes and lawmakers in state after state are happy to oblige.

And with so many state legislatures wholly owned subsidiaries of the NRA, it’s an effective maneuver. Holmes says it was the undoing of an executive order issued two Seattle mayors ago banning firearms in city playgrounds and parks. The Court overturned the ban not under the Second Amendment but under State Preemption.

So it is a big deal in Seattle that this modest tax is in place, and that the money it generates will go toward compiling data about gun violence and putting targeted intervention programs in place. After the 2012 Sandy Hook massacre of first-graders, Seattle funded a study that found people with gunshot wounds treated at Harbor View Hospital, the regional trauma center, are 30 percent more likely to return with another gunshot, or as a homicide victim.

The study was the first of its kind done by a city, and researchers found parallels with alcohol-related injuries in the early 1990s. Spending 20-30 minutes with patients injured in such incidents before releasing them to talk about risk and their chances of being readmitted paid off in lower re-admittance rates.

That is now considered Best Practices in all trauma centers when it comes to alcohol. So could Seattle do the same for gunshot victims? It was worth a shot, and when the seed money ran out for the gun-violence victim research and intervention program, then-City Council President Tim Burgess, a former Seattle police officer, proposed the gun-violence tax to fund continued efforts.

Not all proponents of gun regulation are fully supportive of the Seattle tax. Ralph Fascitelli, Board President of Washington Ceasefire and a longtime gun-safety advocate, praises the tax as a “good morale boost” but says it is “more symbolic than significant” because gun buyers can easily avoid the tax by going outside the city limits for their purchases.

He would also rather see the money raised go toward smart-gun technology than more research. Noting that his organization has given its “civic leader of the year” award to both Burgess and Holmes, he says, “They’re doing the best they can, but they’re like Houdini in a straitjacket—getting oxygen at sea level is success.”

Asked for his response to the criticism, Burgess notes that the tax will raise $300,000 to $500,000 a year to fund research and prevention programs, which is hardly chump change. And while his friend Fascitelli argues smart guns are prevention, “we’re not there yet,” says Burgess.

Also, if people are counting, many millions are spent each year in uncompensated care at Harbor View to care for gunshot victims, and there’s no tax anybody dares to imagine at this point that would cover that.

Seattle, like every city in America, is “awash in guns,” says Holmes. “We’re looking to do something to help reduce what is a public health issue.” Automobile deaths are second to gun deaths in America for the first time in part, he says, because as a society we treated car accidents as a problem we could solve. He’d like to see the same approach to guns.

“I’m a hayseed from Virginia,” Holmes says. “I go hunting; I was on the skeet and trap team in college. I own guns. I want to be able to talk to my friends from the rural areas and tell them if you want an AR-15 in the country, you probably won’t be doing much damage.”

Washington is an open-carry state, but when a bunch of people with loaded AR-15’s showed up at the state’s annual gay pride parade, Holmes says that “spoiled the parade and alienated a lot of people.”

That’s the kind of behavior that can get states with a deeply engrained pro-gun culture to embrace new regulations. Washington passed a ballot measure in 2014 expanding background checks. Gun groups protested the new law by coming to the state capitol in Olympia, brandishing their guns and loudly objecting until the lieutenant governor banned bringing guns into the state house.

Common-sense gun laws are the new refrain, and while they don’t go far enough for some people, they look more achievable than they have in a long time. More regulations are inevitable, and the question now is how many cracks will it take in the NRA’s façade for its cloak of invincibility to crumble.