The hardship begins when personal and professional relationships mix, but if a personal relationship is established it's reasonable to assume that both people should know how to deal with eachother and would have cleared this up between themselves. If HR was involved, it's because someone was out of line or just doesn't understand how adults manage boundaries, in which case he should be warned and, if the case merits, punished.