I am not certain about that it is as simple as that AeroDíaz, but I would agree with you in saying that probably a number of those pilots are unemployable. A valid source of ire for Panamanian pilots is the Spanish-pilot fiasco, where COPA was essentially selling jobs to low-time European pilots who were willing to spend significant cash to get a jet job.
In any event, I feel that it is not Aeronautica Civil in any country who should determine who can work as a pilot. Instead, this is (and should be) the responsibility of the Labor and Immigration autorities of the concerned country.