I assume they are doing checks of other things. Local software is not the same as a web service that is checking your IP for your location.
They could use location services, your registration country for your Apple ID, the sale location of your device, and other things. They could even aggregate indicators and use that.