It might cause a lot of damage. You are assuming it will be slapped down, just because it violates Federal Law, as well as common sense. I think the courts will continue to allow these kinds of lawsuits, because most courts detest gun ownership.
The Supreme Court had an opportunity to apply the law and stop an illegal lawsuit against a gun manufacturer a few years ago. They punted.