The Queen did exactly what she had to do.