A national lawyer’s group is claiming that Texas Attorney General Ken Paxton violated legal ethics rules by filing a frivolous pleading in the U.S. Supreme Court that challenged four battleground states’ election procedures.

But the way that Texas has written its disciplinary rule about frivolous pleadings might prevent Paxton from facing a grievance.