sentence1: One of the most effective ways of keeping a tight rein on the country was to cut it off from the outside world, to keep Japan Japanese.
sentence2: It was not always possible to prevent outside influences from affecting Japan.