the law that apply to a phone is the law of the country you are at the moment.
Third-party store are there because an EU law that only apply to EU territories.
If you are out of the EU the law does not apply and Apple is not required to give you access to third-party stores.