What treaty did Austria sign in the War of the Third Coalition ?
The treaty confirmed the Austrian cession of lands in Italy and Bavaria to France and in Germany to Napoleon 's German allies , imposed an indemnity of 40 million francs on the defeated Habsburgs , and allowed the defeated Russian troops free passage , with their arms and equipment , through hostile territories and back to their home soil .