For the first question, see Post 49.
For the second question, absolution is given but doesn’t actually count without actual repentence. The priest doesn’t know, and doesn’t have to.
So the only reason the priest is there, is so someone can confess to another man? OK, thanks...makes one wonder why it even has to be a priest then?