In some countries, in order to operate as contractors, you need to set up a legal entity. This is the list of countries where you need to do so:
Bulgaria
France
Germany
Ireland
Italy
Mexico
Netherlands
Poland
Portugal
Spain
Sweden
United Arab Emirates
United Kingdom
To understand how to set up a sole proprietorship in these countries, check out this link.