The ruling party says that the new disciplinary measures are necessary to stop judges “undermining” the legal system.