Would you like to copy the permanent link to your clipboard?
Permanent link:
https://help.openstreetmap.org/questions/86154/overpass-query-for-getting-only-mainland-country-boarders-no-colonies/86156