A Swedish court ruled Wednesday that the tech giant had violated antitrust laws in price comparison, harming a Klarna-owned European competitor.