A union called the move 'immoral'.