This interface should be suitable for the implementation of many desktop shell components, and a broad number of other applications that interact with the desktop
Suitable. Not strictly, and certainly not private. Everyone else, KDE included, have managed to make this work fine.
That’s NOT a private API.
Quoting another comment: