Respect the root IDs during the import