you're describing a pre-20th century guild, not a union
Notice that this is equivalent to ensuring that they crash three times as hard for the people being excluded, because they all still need jobs but are now stuck competing for not just fewer but also lower skilled jobs, and on top of that then have to pay more for housing etc. because trade work is being artificially kept in undersupply.