The Italian city-states were important centers of trade between central Europe and Africa, as well as Persia, since their location on the Mediterranean Sea allowed them unparalleled access to a variety of ports.
There are several ways in which being nonaligned would have offered an advantage and disadvantage to a developing nation during the Cold War, but in general they would have been able to trade with both sides.