But the unrest they inspired prompted the Tokugawa government to move them all here , to a guarded compound on the village flats ostensibly to guarantee their safety , but more importantly to contain the contamination of their uncouth ways and ideas .
The Tokugawa government may have had multiple reasons for moving them .