even though the village lay almost forty kilometers beyond the border that had separated vichy from occupied france , the nazis had hauled down the tricolor and hoisted the swastika the day after the free french , joined by the british and americans , had invaded algeria .