For example, the U.S. Congress has enacted a statute, 8 U.S. Code § 1621 called "Aliens who are not qualified aliens or nonimmigrants ineligible for State and local public benefits".
That statute includes into public benefits professional licenses:
"(c) “State or local public benefit” defined
- 8 U.S.C. 1621 is not applicable to attorney regulation because a law license is not a public benefit to the attorney, but is a measure of protection of the public, not attorneys;
- 8 U.S.C. 1621 is not applicable because the regulator in the proceedings is not a "State agency", but a court.
- that a law license is a public benefit to the attorney and not a measure of protection for the public (because it cannot be both); and
- that the regulating court that issues and revokes licenses it a "State agency".