Complex sentence: Italian lira notes and coins were legal tender in San Marino, but specific San Marinese coins were minted in Rome, and were legal tender in Italy, as well as the Vatican City.
Split into simpler sentences: Italian lira notes and coins were legal tender in San Marino (and vice versa). Specific San Marinese coins were minted in Rome, and were legal tender in Italy, as well as the Vatican City.