victim of vicinity
When you do something you might not otherwise do, due to the fact that someone or something is in throwing distance of your ass.  It is used as a way to throw off blame for giving into temptation.

"You cannot blame me for sleeping with Bob again. I didn't mean for it to happen. I am a victim of vicinity."