Bound by Treaty: Emancipation and Diplomacy in the Age of Revolutions