As has later come to light, the negotiations then (after eight years of war) was to formalise Ukrainian loss of eastern areas and the status of the remaining stub as a satellite with with limited autonomy.
You could as well say that the coup of Hawaii was legit because the successor polity exists as an US state.