Solved Is it still not possible to create Xrefs from Python?

I'm trying to create an Xref object from within Python, but somehow cannot set certain parameters (like the Reference and Proxy Reference). Is there a way to add an Xref to a scene using Python?
A similar thread from the legacy forum seems to indicate it is not possible, but then that was years ago, so I hope this may be possible now.

Best
Timm

Hi @tdapper, unfortunately, I confirm this is still not possible.

Cheers,
Maxime.