As Lord Palmerston said, "Nations have no permanent friends or allies, they only have permanent interests."
Argentina's politics are certainly... interesting... but there's no question that Argentina is a strategically important country for major powers to court. Major military powers have little to fear from the San Juan in a hypothetical conflict, but much to gain from friendly relations with Argentina.