Being guilty doesn't prevent one from being blackmailed. Quite the opposite in fact. Being guilty of something increases the potential threat from the blackmail.