The ability to forgive sins is given to priests, regardless of any sins of their own.