Switzerland's neutrality worked well, but that's because their terrain pretty much prohibits any attack, they're citizenry is well armed, and they're the world's bank. Even Hitler wouldn't screw with Switzerland.
Unfortunately, Ukraine doesn't have those advantages. I don't know how a vague promise of neutrality would work, unless they were given back their nukes.