The ploy worked well enough until the Meiji Restoration, when those Western ideas were needed to modernize the country.
The country needed to be modernized in the Meiji Restoration period.
Western ideas were not needed in the Meiji Restoration period.