The 1878 Treaty of Berlin only covered occupation and administration of the Ottoman Vilayet of Bosnia by Austria-Hungary.[0]
[0] https://en.wikipedia.org/wiki/Assassination_of_Archduke_Fran...
[0] https://en.wikipedia.org/wiki/Assassination_of_Archduke_Fran...