Not the only way. Ukraine can also capitulate and accept all of Russia's demands including denazification and demilitarization.Armistice & creation of a DMZ is the only way forward in this proxy war , ie Korean formula. Donbass & Crimea are gone.
Little is better than nothing.Serves Ukraine right for believing the perfidious albions.