A person who actively discriminates in hiring against black people but doesn't call anyone a slur is seen as more virtuous as someone who doesn't discriminate, yet uses the slur in jest. The first behavior is seen as more excusable than the second, although an actual reasonable moral judgement makes it evident it's not.