Encouraging someone to go to confession is act of mercy, official says