The role of republican attorney generals is to defend the law