Even though there is no formal diplomatic relationship or direct military cooperation between Taiwan and Japan, as China increasingly threatens Taiwan militarily, Tokyo might pass laws and publish official documents with the aim of developing multilateral joint defense cooperation with Taipei.
This could take the form of a US-Japan-Taiwan military alliance, which would strengthen bilateral cooperation between Taipei and Tokyo, so that the two nations could work closely together to uphold regional peace and security.