AGs are elected politicians they campaign on this kind of stuff, so them being behind this particular suit doesn't legitimize it but probably the opposite.
Settling is losing for the company. Company has to pay millions or even tens of millions on fines and be subjected to strong injunctive actions. Since I suck at google, find me a company that won a court case against a state in federal court.