The law passed gives the government a larger role in appointing judges