But the union has little to no legislative power, only relying on lobbying and private legal cases, at which point you end up competing with non-union entities who have a lot more money.
It's not not always been the case that the unions were the weaker non-state actor, in fact they used to rival political parties and business cartels in their ablity to lobby/negotiate.
And in some countries that power havent completely faded away.