Wales and Scotland are countries...
The UK usage is more local than anything else, because if you're going to call Wales a country you'd really need to call things like Bavaria or Texas countries.
Inside the UK it seems to mean "Independent state + Wales + Scotland".