Eh, I would say it invites just as much blackmail as it deters. Those policies add more negative consequences to the relationship being exposed — if there’s a chance you could lose your job because of a non-fraternization policy, you’ll be more motivated to pay the blackmail and keep everything under wraps.