once a humble hunting lodge , it was transformed by the roi soleil into a magnificent , lavish seat of power , but even before the eighteenth century ended it saw the last of those absolute monarchs .