I have a good friend of the opposite sex who I've known for three years.
I have a friend of the opposite sex I've known for a few years.
The Tokugawa government may have had multiple reasons for moving them.