According to the provisions of China's Criminal Procedure Law, if the defendant who commits a juvenile crime, a deaf-mute crime or is likely to be sentenced to death does not entrust a defender himself, the court shall appoint a defense lawyer to defend him through the local legal aid center.