Racism and Sexism are learnt behaviours. Telling someone they have acted sexist is not saying they are inherently so. It's telling them "Hey, you acted like an arse and you hurt someone. Own up to your behaviour and listen."
And if they carry on it's not my job to educate them, especially when several people have tried doing so in a calm way and had it thrown back in their faces.