almost immediately both nations opened diplomatic legations in each other's capitals respectively