I went to university for HR and one of the biggest concepts they emphasized was the importance of remaining neutral, since HR guidance can affect the entire workplace. We were also taught that part of our job is to protect the organization from lawsuits, so always do the right thing.
HR probably made them say that instead of telling you the truth.