A federal appeals court has ruled to overturn a fine imposed by the U.S. Department of Agriculture on Amazon for illegal products, applying a recent Supreme Court opinion that erased a 40-year-old precedent ordering judges to defer to executive agencies.