In 2019, the Court of Justice of the European Union (CJEU) ruled that private file-sharing is legal, unless it is done for commercial purposes. This decision was then applied to France in 2021, when the Court of Cassation ruled that a file-sharer could not be held liable for copyright infringement for sharing files with other users, as long as they did not do so commercially. Therefore, while it is not explicitly legalized, P2P file sharing is largely tolerated in France. However, it is still illegal to distribute copyrighted content for commercial gain.