But when it was morning , and the King and Queen were drinking tea , the Princess said that the night before she had had such a strange dream about a dog and a Soldier : she had ridden on the dog 's back , and the Soldier had kissed her .