On Friday, the Japanese government and the European Union finalized a partnership agreement focused on security and defence, responding to rising tensions with China and concerns over its support for Russias war in Ukraine.