Modern diplomatic protocols come about by looking at the cultural expectations for each specific culture, deeming what is appropriate and not appropriate in each situation. Generally speaking, appropriateness is implicitly agreed upon by the majority of the culture. It is important to know these things so you don't present yourself in an unacceptable way.