Gérald Darmanin pressed ahead despite prosecutors warning that the move could undermine judicial independence