Back in the day, it's quite plausible that someone could be living in denial of their sexuality and only admit to themselves in later life that they were gay. It wasn't at all uncommon for people to get married (to someone of the opposite gender) and have a family, before later accepting their own sexuality. In that scenario no lying would be required, as the subject would have believed they were telling the truth when they claimed to be straight.