I have seen it a few times done with a slide hammer and stud welder.. personally I will just be cutting out and replacing my ones when it comes round to it.
Maybe the client specifically asked for the original rails to be saved rather than a more cost effective chop out and replace job.