Real world constraints mean any well constructed principle must at times be violated. That's not a flaw in the principle. A good principle for principles ("rules" in varying uses of the word) is that they need to be simple. Rules/principles of any kind are guides not immutable policies. It would be insane to create immutable policies as the world is constantly changing.
If a rule is overly complex, no one can remember it and there can be no expectation for people to follow.
tldr: All rules are guides. Be they rules rules or "rules" rules