Although the European powers (Austria, France, the United Kingdom, Portugal, Prussia, Russia, Spain and Sweden) agreed at the Congress of Vienna in May 1815 that Switzerland should be neutral, final ratification was delayed until after Napoleon Bonaparte was defeated so that some coalition forces could invade France via Swiss territory.