Ours is a large and complicated government. Much of it isn’t run by statutes or cases, but by regulations.
Violating a regulation can be a crime – depending on the regulation.
Regulations are strange animals. They can be challenged under the Administrative Procedures Act. If you don’t like what an agency does, the APA gives you a mechanism to complain about it to a judge.