Safe third country is a country that is neither the home country of an asylum seeker nor the country in which they are seeking asylum, but that is considered safe for them to be removed to. From Wikipedia
The Commission has signed a migration pact with Tunisia tying EU aid to the country’s acceptance of returned migrants.