The union can force an all-or-nothing decision, but some companies can and will easily choose "nothing" and keep only the overseas developers, not the local unionized ones.
That would certainly make the union workers more attractive given the average consultant’s experience, teaching ability, and understanding of the business.