I think it's mostly Germany and Hungary? It's a shame that so many countries are/was dependent on Russian oil and gas. I'm happy to live in a country (Sweden) where we are independent and produce clean energy from NUCLEAR and hydro.
When Strait of Hormuz was blocked prices increased for everyone, even if these countries did not import any oil from Gulf States. This is because oil is a global market. If a large exporter becomes unavailable - prices increase for everyone.
Sweden is part of the same global market in petroleum products as every other country. In particular, Sweden imports a bunch of crude from Norway (SEK46.2B), United States (SEK13.6B), United Kingdom (SEK10.9B), Guyana (SEK9.04B), and Denmark (SEK3.82B). https://oec.world/en/profile/bilateral-product/crude-petrole...
If Germany loses access to one source of oil and pays a premium to substitute Norwegian oil instead, guess what? Sweden has to pay the same higher price for Norwegian oil as well.
This interconnection of global markets is why Trump is trying to increase diesel supply in Europe in order to lower prices in the US in the first place.