Same goes for e.g. GDPR compliance. You need to comply with GDPR when offering services to individuals in the EU no matter where you are based.