EU countries approved sweeping reforms to the bloc's copyright laws on Monday, marking a symbolic end to a political battle that has pitted tech giants against high-profile media figures.

The copyright directive was backed by 19 countries at an EU Council vote, with six member states — including Italy and the Netherlands — voting against it. Three countries abstained.

The legislation, which was passed by lawmakers at the EU Parliament last month, aims to update Europe's rules on copyright to reflect the challenges posed by the age of information. But it's been criticized by Google and internet freedom campaigners who worry it will result in censorship.

One of the most heavily scrutinized aspects of the law, Article 13 — or 17 as it's now numbered — would make tech firms liable for copyright breaches. This means they will have to acquire licenses from rights holders to be able to host such content in the first place.

Opponents of the law say this will lead to filtering systems that block everything from memes to GIFs before they're even uploaded. The EU, however, says this won't be the case, claiming that people will still be able to share such content freely.

Either way, it's expected to hit platforms that rely on user-generated content — like YouTube, Facebook and Instagram — hard.