You must be a pirate for the Pirate's Code to apply, and you're not. And thirdly, the Code is more what you'd call "guidelines" than actual rules.
This diplomatic overture towards Iran is nothing more than another cheap political fig-leaf towards military action. This White House has already demonstrated they have no intention of using diplomatic solutions to solve international problems. Think U.N. Resolution 1441.