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.
It's impossible today to realize how shocking The Picture of Dorian Gray was to 1890s readers.