When replacing Structure definitions source and target must have the same internal type, i.e. the source must be a copied version of the target Structure definition.