Why did the emperor pay a small fortune in gifts?