There are two sets of rules, written ones and unwritten ones.

You violated an unwritten one.