These examples show how HR can potentially run afoul of the law — and what sorts of frightening lawsuits can follow.