Third country
This phrase simply means a non-EU country. The meaning is clearest when we are speaking about relations between two EU member states (or between the EU institutions and a member state) and another country - literally a third country - that is outside the European Union.
third country
Any country that is not a Member State of the EU.