OUTLINER_OT_collection_link is offered outside View Layer mode; the headed
case reaches it through the Blender File display mode, where collection rows
are real ID elements (Data API builds RNA struct rows without IDs). The new
case checks that linking Parts adds a second View Layer occurrence.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>