I think you may have understood that point. The king didn't change his mind. He was so out of it, that he didn't know who he was talking to. He thought he was speaking to his daughter, and didn't realize it was the queen.
Cheap/manufactured drama. That’s my exact point.