Conditions for obtaining the status of a lawyer