I mean, it might be a good excuse. Doesn't change the slur.
In Blazing Saddles, the actors playing the racists apologised to their co-stars after every take. They had a damn good excuse to say what they said, but they still apologised for saying it.
(I love when I get to post these joke chains)
How do you get 4 elephants in a mini cooper? -Two in the front, two in the back.
How do you get 2 whales in a mini cooper? -Take the M4 and go over the Severn bridge.
How can you tell there's an elephant in your fridge? -Footprints in the custard.
How can you tell there's 2 elephants in your fridge? -You can hear them giggle when the light goes out.
How can you tell there's 3 elephants in your fridge? -You can't quite get the door shut.
How can you tell there's 4 elephants in your fridge? -There's a mini cooper outside.