If the criterion is based on only economic power a country, China is superior to Japan.
If not only economic power a country but also degree of democratization of the country, Australia is much superior to both China and Japan.
Japan has to leave "G7".
Australia has to become a member of "G7" instead of Japan.
It is Australia who is suited for a member of "G7".