system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Does anything actually stop a foreign army from invading a 'Neutral' country?

I'm not sure if ELI5 is the correct subreddit for this, but I figured I'd give it a shot. 

I don't even really know how to ask this without answering my own question. What actually stops a foreign country from invading and taking over a Neutral country? I've been doing a little research on what makes a country, such as Sweden, neutral during a conflict and came across this:

> As long as the country is officially recognized as neutral, no country can legally form plans to invade it or use it as a base of operations.

Here's what I would be thinking if I was the General of whatever army and wanted to go in and take the Swedes' stuff: Who cares? "Legally" we can't invade, but what's going to happen? The U.N. is going to sanction me? 

For example, in WWII Germany invaded Denmark and Norway (both Neutral), so the Allies decided to invade and occupy Iceland (also Neutral) to better defend the Atlantic against the Nazis. From what I've come across, there were no repercussions for either side. The Allies did pay for anything they "broke" in Iceland, but that's far from any real consequence. If Germany had been successful on the Eastern Front and beaten Russia and Finland, they likely would have gone after Sweden (another Neutral country). Switzerland most likely only avoided invasion by the Nazis in WWII because the Swiss bankers would willingly help Nazi officers hide and store money in their country. 

Hopefully someone can enlighten me because I don't see any real reason to leave a Neutral country alone during the next world war.
gpt
The same reason you already said: money.

If any developed country gets invaded, other countries have everything to lose.  Also, politics don't work that way in developed countries.  Allies, treaties, UN.  The UN might not do much, but the countries in the UN will have something to say about it.  

So, you can invade, but when you try and get carpet bombed repeatedly, over and over by every other country, your country will be in a lot worse position than originally.  Not quite worth it.