I read a science fiction story once set on a alien planet and the Terran embassy had a chaplain-bot programmed to serve all faiths, including Catholic.
Then the Holy See sends a nuncio to the aliens and he is horrified to discover that the bot has been hearing confessions, dispensing Communion, &c.