Yes a priest burdened by sin can serve Mass, if he is unable to go to confession first. If that is what you meant. For the same reason no matter how far Luther’s consort’s thought were from her vows to God, she still had these vows binding on her.
LOL keep reaching ....Did you know that the church teaches that the validity of the eucharist depends on the intention of the priest during the "consecration"