Wars do not start by mutual agreement of all belligerents. If anything, usually the opposite.
All apart from France, Netherlands, Spain, Denmark, Poland, Hungary, Lithuania, Turkey, Italy and Ireland.
Interestingly the US is borderline now depending on how you measure food imports and exports.
The average ribeye steak you serve in your barbecue joint can feed a family of 4 in war time.
Italy is not food self-sufficient, it relies heavily on imports of cereals, animal feed, oils, and other.
We add value up the chain (with hams, cheese, etc), but bar fruits and vegetables where we are okay-ish, we cannot feed ourselves. Its been decades that even our own pasta is made out of canadian and us cereals. We simply don't have enough, let alone we don't have good quality cereals.
On top of that, our production is super reliant on imported fertilizers and chemicals. We would borderline starve in case of isolation.
Yeah, those pesky Ukrainians waging war for the pleasure of it.