Prime Minister Sanae Takaichi will need to thread the needle amid concerns over Taiwan and U.S. sanctions against the Japanese head of the ICC.