Costa Rica's President Laura Fernández warned on Friday of an impending "invasion" of illegal miners from Nicaragua, attributing the threat to mining concessions that Nicaragua has granted to Chinese companies near their shared border.