We should raise `Invalid_argument` if the `OCamlRef`s don't reference the same (`==`) object.