Ag is not a major driver of the economy any more (Food is 5% of GDP and falling), severely reducing the importance of 'comparative advantage'.
Japan's main advantage of the 1950s to now was a national currency that pre-war was near parity with the dollar (3-5 in the 1930s) falling to 360 in the postwar. This made Japanese labor dirt-cheap, and thanks to capable management they did pretty good for themselves in the 1960s ~ 1980s.
Take away all the Japanese-made products of that era, and we'd have a much different wealth picture.
Same story now repeating with China, and Korea to a more limited extent.