Did the lawyer know before the court sentenced him?

The general judge is neutral before the verdict and cannot disclose the verdict. Lawyers, as defenders, can protect the rights of clients according to facts and laws, but I don't know how the court ruled. According to the provisions of the Criminal Procedure Law, after a criminal suspect is detained in criminal detention, a lawyer has the right to meet the criminal suspect, and the lawyer can also consult the case file.

legal ground

Article 35 of the Criminal Procedure Law of People's Republic of China (PRC)

If a criminal suspect or defendant fails to entrust a defender due to financial difficulties or other reasons, he or his close relatives may apply to a legal aid institution. To meet the conditions of legal aid, legal aid institutions shall appoint lawyers to defend them. If the criminal suspect or defendant is a mental patient who is blind, deaf, dumb or has not completely lost the ability to identify or control his own behavior, and has not entrusted a defender, the people's court, the people's procuratorate and the public security organ shall notify the legal aid institution to appoint a lawyer to defend him. If a criminal suspect or defendant may be sentenced to life imprisonment or death without entrusting a defender, the people's court, the people's procuratorate and the public security organ shall notify the legal aid institution to appoint a lawyer to defend him.