They also have more bargaining power when they represent skilled workers compared to unskilled ones.
Whenever that first part isn't true for a union, then the market pressure is for the top performers to leave the union for free-market wages, until it is.
I think it's an interesting question how a government workers' union would be likely to feel about a hypothetical restructuring that lost 75% of existing jobs while doubling or tripling wages. I tend to suspect that if the union already existed and represented those low-skilled jobs, it would be adamantly against the restructuring.
Doubling wages while not cutting jobs would obviously be fine with the union, but what would the point of that be?
We know that Unions don't oppose salary caps, but they oppose differentials in compensation based on job performance. Seems like that amounts to the same thing? Unless you're suggesting we just pay government workers more and see if we get any marginal productivity out of them.
In my neck of the woods, there are departments that have to make do with whole teams of low-skill employees because, while a more skilled person could do the work of at least four lower-skill workers, they would also require two lower-skill workers' worth of salary, and you just can't be paying any one person that much money because that would be Government Waste.