It is a bit difficult for a company to hire a person with judicial qualifications as a legal adviser, because these people may be directly given a position such as a deputy manager, and legal advisers are rarely used directly, so it is more direct to ask insiders who is in charge of this part.
If it is a listed company, in addition to having its own legal adviser, it must also hire a lawyer from the firm. The various reports published by the listed company should mention which firm the company has business dealings with.