As far as I understand, your law degree should be valid since you would have satisfied all conditions of the university and bar council of India while passing the law examination; otherwise they would not have awarded the law degree to you.
The problem, if any, may be from the Government department, since you did not obtain permission for getting law education while being on full time Government job. Sometimes, it may be considered as a misconduct for which some departmental penalty may be imposed. However, if your Government department knows about it and does not want to take any action, then just relax.
Getting education while in Government job without taking Government permission may be a misconduct under the Govt rules, but it may not be an offence. So, I don’t think there is any chance of arrest.
Dr. Ashok Dhamija is a New Delhi based Supreme Court Advocate and author of law books. Read more about him by clicking here. List of his Forum Replies. List of his other articles. List of his Quora Answers. List of his YouTube Videos.