Unless having an HR manager manage another department violates the terms of a union agreement or employment contract, it is perfectly permissable. The fact is that most work relationships are what is known as "at will". This means that a company can set the conditions of employment much as it sees fit. If this is not satisfactory, so long as no form of legally actionable discrimination is a factor here, you can either complain but risk termination, or quit.