The judgment concludes a legal dispute that began after the European Commission fined Google in 2018 for abusing market dominance.