I don't think the court will assist you in getting NOC from your employer but yes it will help you get your pending salaries should you approach it.