I don’t agree that a near occasion of sin is a sin, unless one submits to it. para. 1735 is short but gives some complicated advice about the mercy of God, hidden in what seems like a pile of technical jargon.
1735 Imputability and responsibility for an action can be diminished or even nullified by ignorance, inadvertence, duress, fear, habit, inordinate attachments, and other psychological or social factors.
Inadvertence is a category all by itself, so the other categories suggest that they are more or less deliberate and conscious, which is the general idea of the OP. I think your rationalization of your next confession is a form of immaturity or self-deception that might fall under a psychological factor reducing your culpability for a sin. Yes, your better instinct is to confess the sin at the next instance. Best, though, is to use all this psychological energy to avoid the sin altogether.
Be holy as your heavenly Father is holy
We are priestly people and we offer our selves as living sacrifices – we sacrifice that passion or desire . That is what God loves most, to see our obedience as Jesus was obedient.
Every sin is an instance where we create an idol of ourself, taking God off the throne of our life and putting ourself there instead. Lord, if you are not LORD of all my life, then You are not LORD at all. Be my LORD.