Humbled a transphobe

There’s this guy in my PE class and today we were playing a game and he kept calling me by my deadname. I kept correcting him but he kept on brushing it off, at one point he said “Dude, you’re not a guy we’ve been calling you [deadname] for years” so I replied “I am more of a man then you will ever be in your life, so either you call me by my name or don’t talk to me at all.” He was kinda baffled for a moment and his friends took my side and told him how he was being disrespectful. Afterwards he apologized and called me by my preferred name for the rest of the day. :)