Nicolas I Annexes Azerbaijan

I'm reading Raj: The Making and Unmaking of British India by Lawrence James right now and it says that Nicholas I of Russia once refused to annex Azerbaijan because it was the private property of the Shah of Iran.

What if he had?
 
Wasn't Azerbaijan a part of Russia since before Nicholas's reign? The Treaty of Gulistan was signed in 1813, before Nicholas.
 
Top