Bolded for truth. You can ensure your estate is bequeathed to exactly as you specify. Wills can be contested and thats why we have probate courts.
It would take a truly naive person to think that trusts can't be contested.
In real life it is extremely hard to win a will contest. And they are only a very minor portion of what probate courts do. I'm coming up on forty years of practice and have only been involved in one will contest-and that was primarily driven by emotions, not facts. BTW probate court has valuable aspects. One case I had the nursing home gave a refund of the deposit shortly after death. Years later they purportedly recalculated the bill, claimed there was thousands due them (together with years of interest). Since the estate was properly probated they were SOL when I told them to go pound sand..
I've made a lot of billable hours in the past straightening out dumb ass amateur estate planning (or trying to), especially that of the living trust variety. One client actually bought their living trust plan from someone who had a booth set up at a tag sale.
But back to original point, get the advice of a competent local attorney. If not your divorce attorney, ask around.