There isn’t anything stopping Italy, the sovereign state, from doing anything it thinks it could do. What is stopping it from bombing San Francisco (besides it not making sense whatsoever) would be that the US would physically stop the Italian Air Force and navy.