The basis of the joke is that Catholics believe Mary to be ever sinless.
Ya, I did get it though heh.