Thanks both. I had tried to create them on purpose but with no luck so far. I wasn't trying hard, though. Will look into that once more.
q.
Create two packages with an element in each.
Create a connector from one element to the other. You can also do things like assign a classifier, add it to a diagram etc. Any cross package reference.
Export the package with the source element to XMI.
Open another model.
Ensure that Start > Appearance > Preferences > XML Specifications > 'Create placeholders for missing External References during XMI 1.1 / 2.1 and Native File Import' is enabled (16.0 ui)
Import the XMI