Perhaps he did not recoginze her but may be Princess Madeleine has experinced people in the past chatting her up because of who she is? He might have been genuine and saw that he liked the looks of her and thought he might chat her up only to discover he is a princess!