"(...) a Brazilian appeals court sentenced the former president to 12 years in prison for corruption – a polarizing and controversial verdict Lula supporters see as a politically motivated attempt to derail his campaign."
With the exception that there is no proof of the alleged crime and he is in jail before his recourse was judged, in another case his Habeas Corpus was accepted by a judge and illegally not executed by government workers. Also, he is illegally under solitary confinement and frequently, the Justice doesn't let even his lawyers have access to him. A true blue political prisoner.
Of course he has access to his lawyers. See this source in Portuguese https://www.cartacapital.com.br/politica/haddad-passa-a-ser-... The former São Paulo mayor, who is also a lawyer and form the same party as Lula, will have access to Lula (now his client) any day of the week.