She treated him as if he (were/had been) a stranger.