The sanctions on North Korea were constantly violated by China though. That's a bad example. Cuba was sanctioned by the US but not the rest of the world so that's a bad example as well. I am of mixed feelings on the efficacy of sanctions but North Korea and Cuba are not examples of countries that were effectively sanctioned.