The judge who dismissed the ACCC’s challenge to Pacific National’s acquisition of Aurizon’s Acacia Ridge Terminal in Queensland had no power to accept an undertaking by the rail operator as an answer to the competition regulator’s case, an appeals court has been told.