Neo lets him. The Matrix movies were always a lot about faith. Smith had to believe he defeated Neo and really could convert him (which he always must have doubted since it is impossible for the Yin to convert the Yang. Smith's belief made his defeat possible (at least that is what I think). I always thought that the religious component of Matrix R&R was rather difficult and implausible, especially considering that machines created the matrix.