California and other blue states are siding with the Mexican government in its lawsuit against U.S. gun makers like Smith & Wesson, in which Mexico argues the companies are responsible for gun violence south of the border.

Mexico's lawsuit claims that gun manufacturers are liable for gun violence, and a filing from California and other states say they agree that the companies are "fully aware that their firearms were being trafficked into the country and that the companies — not a third party — knowingly violated laws applicable to the sale or marketing of firearms."

Mexico's lawsuit was tossed out by a federal judge in Massachusetts last year, but Mexico has appealed its case to the First Circuit.

CALIFORNIA LAW MANDATING HANDGUN SAFETY FEATURES VIOLATES SECOND AMENDMENT, JUDGE SAYS

Rob Bonta

California Attorney General Rob Bonta speaks at a news conference at the Capitol in Sacramento, California, on Feb. 23, 2022. (AP Photo/Rich Pedroncelli, File)

California's Democrat Attorney General Bonta and 17 other Democrat-led states filed an amicus brief in that appeal, and argue that court should overturn the district court. The states also say the Protection of Lawful Commerce in Arms Act (PLCAA) does not shield the companies like Smith & Wesson, Ruger, Glock and others from accountability if their product is sold to dealers who are trafficking the firearms into Mexico illegally.

According to California, legally purchasing a firearm in Mexico is nearly impossible, as the country has one gun store and issues fewer than 50 gun permits per year. California noted that, according to a Government Accountability Office report, an estimated 200,000 firearms are trafficked into Mexico from the United States every year.

HERE'S HOW PROGRESSIVE LAWYERS ARE USING PUBLIC NUISANCE LAWSUITS TO OUTLAW GUNS

"Gun manufacturers and sellers seem to believe PLCAA gives them a free pass to make and distribute weapons they know are being trafficked and used to terrorize communities in Mexico," California Attorney General Bonta said in a press release this week.

"In most industries, companies are well-aware that they can be held accountable when they violate the law — firearms should be no different. We urge the court to reverse the district court decision and allow this case to move forward," he said.

The PLCAA, enacted in 2005 with bipartisan support, prohibits "civil liability actions from being brought or continued against manufacturers, distributors, dealers, or importers of firearms or ammunition for damages, injunctive or other relief resulting from the misuse of their products by others."

Firearms are displayed at a gun shop in Salem, Ore.

Firearms are displayed at a gun shop in Salem, Ore., on Feb. 19, 2021. (AP Photo/Andrew Selsky, File)

The blue state brief argues that the federal court judge dismissed the case in error, and interpreted the PLCAA to "broadly shield gun manufacturers and sellers from liability for the harms inflicted by firearms and ammunition."

SENATE REPUBLICANS INTRODUCE BILL CODIFYING RIGHT TO BEAR ARMS 'OUTSIDE YOUR HOME'

"While PLCAA does provide a defense to members of the gun industry against certain forms of civil liability, it does not extinguish all forms of accountability for gun manufacturers and sellers," the states wrote in the brief.

The states argued they have a say in the case as "independent sovereigns," as they "bear weighty responsibility for protecting our residents from the risks of gun violence and promoting safety in the use of firearms within our borders."

"Exercising our police powers in service of these goals, we have adopted a range of measures regulating the possession and carrying of firearms," they wrote. "We have also adopted measures to encourage responsible gun manufacturing and sales practices.  And when, despite those regulatory efforts, our residents are injured or killed as a result of gun violence, our states have historically provided civil remedies to redress injuries in court."

FILE - A customer looks at a pistol at a vendor's display at a gun show held by Florida Gun Shows in Miami on Saturday, Jan. 9, 2016. States enter data into the national background check system about people who are convicted of crimes that disqualify them from buying guns. That information turns up when licensed dealers conduct background checks and has resulted in more than 120,000 applicants being denied since 1998 for having misdemeanor domestic violence convictions. (AP Photo/Lynne Sladky)

Firearms are on display at a gun show in Miami.

The states said the PLCAA should allow for civil actions against firearm industry actors if they "knowingly violated a statute applicable to the sale or marketing of a firearm or other qualified product."

Montana's Republican Attorney General Austin Knudsen told Fox News Digital that he plans on responding to the case and "asking my attorney general colleagues who are pro-Second Amendment to join me." 

"The Protection of Lawful Commerce in Arms Act has been law for nearly two decades and has been an important safeguard of our right to keep and bear arms, so it’s not surprising that these anti-gun politicians are seeking to weaken those protections," he said.

"What is surprising is that they are siding with a foreign government to attack Americans’ constitutionally guaranteed rights," he said.

CLICK HERE TO GET THE FOX NEWS APP

Other states included in the brief are Massachusetts, Connecticut, Delaware, Hawai‘i, Illinois, Maryland, Michigan, Minnesota, New Jersey, New Mexico, New York, Oregon, Pennsylvania, Rhode Island and Vermont.

Attorneys for the gun manufacturers did not immediately respond to Fox News Digital's request for comment.