Can this actually happen? Unless I'm overlooking something, `remove_refs` handles this situation already.