During WW II, the Japanese took Nazi information about Jews seriously, believing they held great world power. Instead of persecution, Prime Minister Konoe’s government decided in 1938 to grant Jews equal rights with other foreigners and selectively tried to attract Jewish capitalists and scientists.
Yes, they actually legalized it on April 1, 2001. And they were the first country in the world to do so. Many people thought it was a prank, but no, it wasn't.