In 1807, during the Napoleonic Wars, Leopold I Berchtold established a military hospital in part of the château and a drapery in the stables. On September 16, 1908, in the run-up to the Bosnian Crisis, Count Leopold II Berchtold, ambassador of Austria-Hungary in Saint Petersburg, hosted the meeting between Russian Foreign Minister Alexander Izvolsky and Austro-Hungarian Foreign Minister Alois Aehrenthal in his castle. Austria-Hungary and Russia agreed on the controversial "Buchlau Agreement", according to which Austria-Hungary should receive Bosnia-Herzegovina and would, in return, support Russia in the attempt to enforce extended rights of passage through the Dardanelles against the Ottoman Empire.