In Rhino 8 and Rhino 9 BETA when you import one or more Layouts from (a different) 3dm file, you also get a lot of empty Layers (and Light objects?!). It has never worked as you would expect in Rhino 8, but there might be time to fix this in Rhino 9 BETA? Obviously you can Purge the empty Layers after the import, but then you also use the empty Layers from the active 3dm, whish is not practical, since they could be there for a reason, if they are part of your template for new projects. A solution could be to Lock all layers before importing a Layout from 3dm file, then Purge Layers and finally to UnLock Layers, but that would also Unlock Layers the user intentionally has locked. Suggestion: Add a LayerState save and restore or something similar to get only the Layouts imported with just the relevant Layers and Materials (if Materials exist in the imported Layout).
Test: Open the ForkPath_00.3dm (v9) and Import from 3dm > Layouts (select one of the others)
Import_A4_Layout_v8.3dm (182.2 KB)
ForkPath_00.3dm (72.6 KB)
Import_A4_Layout.3dm (742.9 KB)