In my all girls high school, I knew Denise. After HS, we lost touch and reconnected over a decade later. Eventually Denise announced she was bi, then gay, then trans and going by Dan. So I now know Dan, and use he/him pronouns.
When I am telling a story about something that happened in high school, back when Dan was Denise, is it appropriate to refer to him as Denise? Or no, because dead name? Thank you. I want to be clear who I'm talking about but don't want to hurt Dan's feelings.