with lots of complaining , the austrians finally accepted napoleon 's terms at the treaty of pressburg , paid a huge indemnity , ceded the tyrol to bavaria , and lost minor enclaves to , among others , the kingdom of italy .