How did the Congress of Vienna promote the Principle of Legitimacy?

How did the Congress of Vienna promote the Principle of Legitimacy?