I hope you never forget this as a "big deal." When someone asks the AG to certify a CRIMINAL (or other dangerous law) as "constitutional," the question becomes a political hot potato, and no matter what the AG decides, it might cause the AG trouble. So the AG will typically avoid it, and the plaintiff might (in a criminal matter) dismiss the case, especially with the media nearby.
So this can become quite a cute hammer.
Remember that it fits in the area of "Declaratory Judgment," a very powerful, innocuous weapon, as in this Florida Statute: