Sheriff in court. A California court denied the state attorney general's appeal to halt...