I’m not too worried about it, treaty or no treaty. Any nation that denies a US citizen access to a US consulate will no longer be visited by US citizens. It would be the end of their tourism industry and business contacts, and they know it.
So you would have no problem with other countries violating the Vienna convention when it comes to how they treat our citizens. I would be willing to bet there are others on the thread who are not as consistent.