Did your supervisor definitely say that the restricted duty was the reason you didn't get the job & the only reason?

I assume you wouldn't have to drive a co. car since you said this is the same job you were doing only higher pay grade?