Normally it is not so, any company can terminate the contract of an employee with 1-3 months prior notice on any grounds safer to them. You can try for NOC / release thatsthe only way here. Wait till next week for new rules, it may have some fortunes for all.