SAN DIEGO (CBS SF) — A federal judge on Thursday blocked a California law requiring background checks for people buying ammunition, issuing a sharply worded rebuke of “onerous and convoluted” regulations that violate the constitutional right to bear arms.

U.S. District Judge Roger Benitez of San Diego ruled in favor of the California Rifle & Pistol Association, which asked him to stop the checks and related restrictions on ammo sales.

“The experiment has been tried. The casualties have been counted. California’s new ammunition background check law misfires and the Second Amendment rights of California citizens have been gravely injured,” Benitez wrote in a 120-page opinion granting the group’s motion for a preliminary injunction.

Voters approved toughening California’s already strict firearms laws in 2016, and the restrictions took effect last July.

The state attorney general’s office did not immediately say if it will appeal or seek to stay the order, which takes effect immediately at a time when some California gun stores have been ordered shut because of the coronavirus. Among the places where the shops were not deemed “essential” businesses are Los Angeles and San Jose.

The same judge’s decision last year striking down the state’s ban on high-capacity ammunition magazines sparked a week-long buying frenzy before he halted sales while the state appeals his ruling. Gun owners similarly rushed to stockpile ammunition before the new restrictions took effect last summer.

Benitez called the ammunition background check law “onerous and convoluted” and “constitutionally defective.”

“Criminals, tyrants, and terrorists don’t do background checks,” he wrote. “The background check experiment defies common sense while unduly and severely burdening the Second Amendment rights of every responsible, gun-owning citizen desiring to lawfully buy ammunition.”

While it is intended to keep ammunition from criminals, it blocked sales to legitimate, law-abiding buyers about 16% of the time, he wrote. Moreover, he ruled that the state’s ban on importing ammunition from outside California violates federal interstate commerce laws.

Attorney General Xavier Becerra said in a court filing earlier this month that the background checks stopped more than 750 people from buying bullets illegally from July 2019 through January 2020, not including those who didn’t even try because they knew they weren’t eligible.

The law requires buyers who already are in the state’s firearm background check database to pay a $1 fee each time they buy ammunition, while others can buy longer-term licenses if they do not have certain criminal convictions or mental health commitments.

It took an average of less than 5 minutes to complete the background checks, according to state court filings.

“There is no substantial impediment,” the state said in court documents. “Ammunition purchasers must pass an eligibility check that, in the vast majority of cases, delays a purchase by a few minutes.”

Benitez ruled that the ammunition law illegally locks out-of-state vendors out of California’s market, and that it conflicts with a federal law allowing gun owners to bring their firearms and ammunition through California.

The lawsuit by California Rifle & Pistol Association was joined by out-of-state ammunition sellers and California residents, including Kim Rhode. She has won six Olympic shooting medals.

© Copyright 2020 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.