Legal Stuff They Don't Tell You About Remote Work
jitbit.com
jitbit.com
For example, if you were a UK resident 'employed' by a foreign company you would likely still be deemed a "worker", not "self-employed", subject to minimum wage and statutory annual leave unless the contract is very specific on paper and in facts, and it is unlikely that the employer really wants a "self-employed" contractor.
This is indeed very dependent on the jurisdiction and that's why both employers and employees need to understand the law on both sides.