The French presidency says France is ready to take in about 20 of the 87 migrants from a rescue boat that docked at a port in southern Spain on Thursday.
The president's office said France has decided to receive some of the migrants in the name of European solidarity because Spain is seeing a spike in migrant arrivals.
Spanish aid group Proactiva Open Arms said the passengers its ship brought to the port of Algeciras were picked up off the Libyan coast on Aug. 2 and mostly were Sudanese war refugees.
France has also taken in 78 asylum-seekers, mainly from Eritrea and Sudan, who were passengers on a rescue ship operated by German and French aid groups that Spain allowed to dock in June.
That boat, the Aquarius, drew wide attention after Italy and Malta refused to it dock. The ship was carrying 630 migrants.