If no guardian is appointed, who decides what happens to your children?

For a British family living abroad, the answer may involve local authorities, unfamiliar procedures and important decisions made before relatives can arrive.