Did Dominic date James pre-transition and then break up once he came out?
If so, he may have internalized homophobia and doesn't want to recognize that he dated a boy. He may want to think "James is actually a girl, so I am not gay" and that's why he deadnames and misgenders him.
If not, then I'm not sure why he thinks that way. If you want help explaining it to him, my experience as a trans woman is that I've always had a girl brain despite being amab. Yes, I used to present masculinely but I was still operating with a feminine brain. Swedish fish put into a sour patch kids box are still swedish fish even though the exterior packaging was incorrect, or in other words, my brain is and always has been a girl's brain despite being put into boy's packaging.
Also I appreciate you trying to increase others' understanding of trans people btw :)