Just before the war the Nazis were intent upon finding exotic narratives which would give credence to their Aryan supremacy theory. One example was the swastika, a divine symbol of the Hindus used for thousands of years!
They could have warped logic with the Japanese to further their allaince and it seems very plausible when you consider such mission, who's goals were not entirely clear.