Pirate code
In the Disney movie trilogy Pirates of the Caribbean, all the featured pirates are governed by a single Code.  While the Code has the force of law in Shipwreck Cove, where a codex containing the complete code is kept under the care of Captain Teague, elsewhere, the Code is treated more as a set of guidelines than as actual rules.