Your employee handbook absolutely tells you to do exactly that if the person you have sex with is your subordinate.
Aren't you supposed to get trained on this every year?