Apple will fight a federal judge