in this capacity he was invited to attend , as the firms representative , at many important social functions and it was at one such occasion that he fell prey to the charms of lady x , the mistress to the head of british intelligence .