Japan remained isolated from the sixteenth to the eighteenth century because