"Nair claimed job candidates voluntarily agree to the obligations prior to joining the company"
Well duh, obviously they're going to agree - if they don't, they don't get the job. You don't need a PhD to understand that.
The fact that the job comes with unacceptable limitations is another point entirely. If Infosys exists in France, it can always include non-compete clauses if it wants, but a French tribunal throws those things out the window as soon as the case is filed.
Indian law needs an upgrade before things will get better.