701.40c
If a permanent changes zones before an effect causes it to explore, its last known information is used to determine which object explored and who controlled it.
If a permanent changes zones before an effect causes it to explore, its last known information is used to determine which object explored and who controlled it.