Taiwan's Premier is visiting Japan, an event that has triggered a protest from China. Beijing has been clear about its disapproval of any official contacts between Taiwan and other countries, regarding Taiwan as part of its territory. It's unclear what the Taiwanese official's agenda is for the visit. However, the incident highlights the complex and sensitive relationship between Japan, Taiwan, and China.
Japan recognizes the One-China policy but maintains non-official relations with Taiwan. Japan has common democratic values and maintains a strong cultural and economic relationship with Taiwan. Also, the visit acts as a litmus test for Japan's delicate position between its ally, the US, and China, its biggest trading partner.
In the US and EU, domestic recognition of the One-China policy is also prevalent, but engagement with Taiwan is slightly more flexible. Official contacts remain limited, but unofficial economic and cultural exchanges are frequent and robust. Both the US and EU are cautious about the sensitive balancing act, wary of Beijing's sensitivity to any actions perceived as lending legitimacy to Taiwan's status.