You can’t because it depends on the credibility of a person who isn’t vetted.
This is why Ukraine is having trouble getting guarantees. Troops can be pulled out at any time and just sending weapons might not be enough. Something like nukes would be very effective, but implausible