Actually, I should have said a regulation - which has the same effect as a statute.
Violation of a law is a crime. Violation of the internal rules of a bureaucracy is just a yawn if an administration doesn’t pursue it.