Those countries still need oil and that oil needs to be bought with dollars. Normally doesn’t end well for countries that try to break out of that system.
(1) https://www.bloomberg.com/news/articles/2023-07-24/russia-s-...
(2) https://www.belfercenter.org/publication/new-russian-law-nor...
(3) https://thebarentsobserver.com/en/arctic/2023/10/uscg-healy-...