The study of the rules and practices surrounding diplomatic relations, including formal ceremonies and diplomatic protocol.