When the Princess of Wales had to attend with her husband a key event, she was left with no uncertainty about how to behave.