The emperor compensated the Duke of Lorraine, heir in the female line of the Gonzaga, for the loss of Montferrat by ceding the Duchy of Teschen to the Lorraine.
To make up for the loss of Montferrat, the emperor transferred the Duchy of Teschen from the Gonzaga lineage to the Duke of Lorraine, who was heir in the female line.