he liked hary janos both because of its music , which was derived from hungarian folk music , and because of the tall tale the veteran soldier janos spins of his rescue of the emperor 's daughter , his promotion to general , his virtual single-handed defeat of napoleon and his eventual winning of the heart of the emperor 's daughter .