}
NodeImpl n = addNode(f.getName(), f);
n.restoreFrozenState(f, vsel, restored, removeExisting);
} else if (child instanceof InternalFrozenVersionHistory) {
InternalFrozenVersionHistory f = (InternalFrozenVersionHistory) child;
VersionHistory history = (VersionHistory) session.getNodeByUUID(f.getVersionHistoryId());
String nodeId = history.getVersionableUUID();
// check if representing versionable already exists somewhere
if (itemMgr.itemExists(new NodeId(nodeId))) {
NodeImpl n = (NodeImpl) session.getNodeByUUID(nodeId);