The new law marks a correction to a ruling that was only meant to last two years but ended up lasting 14.