The government has agreed to take an unspecified number of refugees from Costa Rica who have fled violence in other parts of Central America, but always maintained this is not a people swap with Nauru and Manus Island.