The lawyer communicated with the client before the trial.

Legal analysis: Even if lawyers communicate with judges, it is normal. However, judges and lawyers cannot commit the following acts.

(1) Spreading remarks damaging the reputation of the country, participating in illegal organizations, participating in assemblies, events and other activities aimed at opposing the country, and participating in;

(2);

(3) perverting the law;

(4);

(5) Concealing evidence or forging evidence;

(6) divulging state secrets or judicial secrets;

(seven) infringe upon the legitimate rights and interests of citizens, legal persons or other organizations;

(eight) dereliction of duty, resulting in misjudged cases or serious losses to the parties;

(nine) deliberately delaying the case, delaying the work;

(ten) use their powers to seek personal gain for themselves or others; (eleven) engaged in profit-making business activities; (twelve) to meet the parties and their agents privately, and accept the guests and gifts from the parties and their agents; (thirteen) other acts.

Legal basis: Article 49 of the Lawyers Law of People's Republic of China (PRC), if a lawyer commits any of the following acts, the judicial administrative department of the people's government at the municipal level or municipality directly under the Central Government shall give him a punishment of stopping practicing for more than six months and less than one year, and may also impose a fine of less than 50,000 yuan. If the illegal income is confiscated and the circumstances are serious, the judicial administrative department of the people's government of a province, autonomous region or municipality directly under the Central Government shall revoke his lawyer's practice certificate and investigate his criminal responsibility according to law:

(a) meeting with judges, prosecutors, arbitrators and other relevant staff in violation of regulations, or otherwise affecting the handling of cases according to law; (2) Offering bribes to judges, prosecutors, arbitrators and other relevant staff members, introducing bribes or instigating or inducing parties to pay bribes; (3) Providing false materials to the judicial administrative department or committing other fraudulent acts; (4) intentionally providing false evidence or threatening or inducing others to provide false evidence; (5) accepting property or other benefits from the other party and maliciously colluding with the other party or a third party to infringe upon the rights and interests of the client; (6) Disrupting the order of courts and arbitration tribunals and interfering with the normal conduct of litigation and arbitration activities; (seven) abetting the parties to take illegal means such as disturbing public order and endangering public safety; (8) publishing malicious libel statements that endanger national security. If a lawyer is subject to criminal punishment for intentional crime, the judicial administrative department of the people's government of a province, autonomous region or municipality directly under the Central Government shall revoke his lawyer's practice certificate.