Non compete and solicit are not legally enforceable in India, yes. But there have been landmark judgements where this was upheld and the employee had to pay damages, don’t remember the exact case name, but you can find on Google.
My tldr would be - if your current company is smallish and is looking to grow , and doesn’t have peak xv type top tier investors who can fuck you from an ecosystem pov, go for it. This is because they don’t have the mental bandwidth to make an example out of you.
If not, trust me, it’s not worth the hassle.
The folks saying that a lot of money is required for screwing, it’s not. It’d take roughly 50k for a half decent NLU stoner to take out a stay order and then you’ll be crushed by the Judicial system.
This might be unpopular opinion, but, switching directly to a competitor is shitty IMO.
How folks generally deal with it is have a garden leaf period or another short stint before making the switch, in that case you’re pretty much bulletproof