Oil giants are lawyering up against an endangered whale