replace: die early if replace ref already exists