The country is struggling with an opioid epidemic that has led to rising overdose deaths. The increase has been attributed to the painkiller fentanyl and similar drugs that are powerful but relatively cheap and cut into street drugs without buyers' knowledge.
San Francisco has reported about 200 overdose deaths annually in recent years, largely from opioids. AB 186 would have protected staff and participants from state prosecution related to illegal narcotics. But it gave no legal cover from federal laws, including a "crack house" statute that makes it a felony to knowingly maintain a place for using a controlled substance.
San Francisco has not shied away from confronting the U.S. government and has repeatedly sued the Trump administration, including one lawsuit over sanctuary protections for people in the country illegally. The issue of drug injection sites would likely wind up before a federal judge if San Francisco opens a clinic, legal experts say.
Robert Mikos, who teaches federalism and drug law at Vanderbilt Law School, said a quasi-medical facility where the goal is to reduce harm sounds well-intentioned but appears to violate a statute used to go after people who run drug dens.
"It would depend on whether federal prosecutors are willing to prosecute this violation," he said. "Federal prosecutors always have some discretion, and they have some independence from Washington, D.C., and the attorney general, but this is a tricky situation."
Leo Beletsky, an associate professor of law and health sciences at Northeastern University, said a federal judge might find in San Francisco's favor.
"If you got it before a judge, it's anyone's guess," he said. "You can make a very reasonable argument that a health care facility of this sort is not something that was ever intended to be covered under the crack house statute."
There are supervised injection sites in Canada and Europe, but none in the United States.
Days after California lawmakers sent the legislation to the governor in August, U.S. Deputy Attorney General Rod Rosenstein wrote in The New York Times that the federal government would take aggressive action against any supervised injection sites.
"Americans struggling with addiction need treatment and reduced access to deadly drugs. They do not need a taxpayer-sponsored haven to shoot up," he wrote.
State Sen. Scott Wiener (D-San Francisco) who co-authored the legislation, says the city has no qualms about taking on the federal government over what he calls a failed war on drugs. He noted that the city has long led the country on health and safety policy as well as on challenging the federal government.