By imposing these humiliations on the great-nephew of Frederick the Great, Napoleon guaranteed that Prussia would feel perpetual resentment, but he calculated that Austrian revanchism over Pressburg and Prussian over Tilsit could be held in check by his new friendship with Russia.