throughout this period spain maintained a consulate in the capital city