You have touched on a very important discussion in your post, which I wanted to avoid since it involves legality, and being not a lawyer, I am not the right person to comment. However, here are some views from the legal fraternity below, from my library chest, which I hope will be useful to all readers interested in the subject:
Not only have all Indian courts struck down non-compete clauses that completely restrain an employee after termination of employment, but they have also struck down the argument and the principle of partial restraint with respect to post-employment non-compete clauses.
Having said that, post-employment restrictive covenants are considered to be prima facie void. It is important to note that one void clause in an agreement does not automatically render the entire agreement void and unenforceable. The remaining valid clauses may continue to be enforced.
Therefore, even though such negative covenants do not operate after the termination of the contract and have been held void by the courts of India, it is still common practice to include such covenants in an employment agreement to serve as a deterrent.
Based on the above, companies still include the clause, as we have seen a few employees post-termination trade with the company's secrets like programming code, research materials, business margins with clients, poaching high net-worth clients by illegal means, etc., which I feel can be contested in a court of law for grievance.
Hope to hear from you and other senior professionals in the subject.
As per Section 27 of the Indian Contract Act, 1872 - Every agreement by which anyone is restrained from exercising a lawful profession, trade, or business of any kind is, to that extent, void.
So, the inclusion of a non-compete clause in the agreement may not be enforced in the court of law.
Despite this, many companies are including such clauses in the appointment letter.
Furthermore, this kind of negative covenant is reasonable as long as the employee is in service (during service). But if such a condition is made applicable post-termination/resignation, then it will be treated as a restraint in trade/service under the following laws:
Section 27 of the Contract Act and Article 19 of the Constitution of India, which give the fundamental right to profess and do business and occupation subject to the law.
Refer to Pepsi Foods Ltd. & Others v. Bharat Coca-Cola Holdings Pvt. Ltd. and Ors. 1999 LLR 1027 (Del.) where the enforceability of a negative covenant restraining employees from engaging or undertaking employment with any companies was discussed.
Regards