The priest must and does refuse absolution to a penitent when he thinks the penitent is not rightly disposed for the Sacrament. He sometimes postpones the absolution till the next confession ...
The first cardinal to belong to Opus Dei denied an allegation he abused a teenager in the sacrament of confession.