The goal seems to be to end the conflict right now, not necessarily to have a permanent solution, while allowing both parties to save face. And also to make sure Russia never attacks Ukraine or another state again. I think that’s an acceptable plan under the circumstances.
And Russia will trade currently occupied Ukrainian territory for sanctions relief after the conflict is frozen.