Events in Venezuela, Somaliland and Iran have highlighted the growing tension between international law and a shifting world order