In this case, the barber does not shave himself (because he has a beard); but then according to his claim (that he shaves all men who do not shave themselves), he must shave himself. In a similar way, the paradox still occurs if the barber is a man in our town who cannot grow a beard. Or the barber is a female!
Hope this helped!
(Brainliest would be greatly appreciated!)