If a border has been agreed in the past by both countries, shouldn't it be registered with a neutral party and referred to in negotiations? Hard to believe either side in a conflict, but a border ratified with the UN, for instance, would mean no one can claim land willy nilly.
I just cannot imagine how e.g. Germany could encroach into French land without being internationally ostracized.