The French Senate has approved a revised version of the controversial "three strikes" anti-piracy bill.
In June, the French Constitutional Council rejected plans to allow a state-appointed agency to disconnect illegal file sharers after three warnings.
The council ruled that only a judge can bar individuals from the internet, describing access to online services as a human right.
The revised version of the bill attempts to get around the constitutional limitations by giving court judges the final decision, according to Ars Technica.
The revised bill, like its predecessor, will create an authority to oversee internet piracy and investigate complaints by rights holders about copyright infringements.
Two warnings will be passed to users through ISPs, but on the third strike a judge can choose to ban the user from the internet, issue a fine of €300,000, or impose a two-year prison sentence.
The revised bill has now been resubmitted for approval, but open internet advocates say new version still makes it too easy for non-judicial entities to enforce punishments.