The answer was that it was too cumbersome to change a class (see here for a summary).
But with patch 3.5, a shortcut was added at the Weapon screen so now we don’t need to leave the Team menu, go back on the map and then go to the Hero menu… We can directly change the class and then come back to the team.
So the reason for the fee is not there anymore .