The object is restored but the linked attributes (for example cross-domain group membership) are not.
The online restore is performed in two steps:
Below is the Microsoft article with the explanation and the list of linked in attributes:
To be able to restore the linked attributes the object should be replicated in the forest.
There are two ways to restore the linked attributes: