Re-validate Realm Object

I use realm in both an Android and an iOS app I am developing. A feature of this library is to check the validity of every "realm object" that is used, every time an attribute is accessed. So, if I have two instances of an object, I change or remove one of the two, the other gets invalidated, and when I try to access an attribute, it throws an exception.

My question is: how can I get the invalid instance "revalidated"? I am aware of the isValid (or, for iOS, isInvalidated) method, but the primary key of the object is still inaccessible, due to the fact it is invalid. How can I ask realm to get a valid version of that instance, without the primary id?

If this is not possible, what is the intended way to manage a

Object has been deleted or invalidated.