Does an account at IBKR Japan count as foreign or domestic investment?

My tax advisor told me to keep my investments in a foreign account if possible, because for the first five years as a resident, foreign income is not taxed unless it is brought into Japan.

If I open an account at IBKR Japan and move my investments there, will this account count as a foreign investment account (e.g. a "normal" IBKR account), or is that actually an account within Japan?

If it is actually a domestic account: If I understood it correctly, that would not be a good idea because any capital gains on there will have to be taxed within Japan, even within my first five years as a resident here. Is that correct?

by goddammitbutters