A is doing the right / admirable thing, period. It really does not matter whether B knows or not, but if I were A, I would try to communicate via email / written reports to argue out my reasons. If in the end, the boss still sticks his #$@ decision, I will no doubt go one level above the boss to make my complaint heard as such type of boss is better to be ridden of for the sake of all stakeholders...