(b) In a capital case, if the defendant appears for arraignment without counsel, the court shall inform him or her that he or she shall be represented by counsel at all stages of the preliminary and trial proceedings and that the representation is at his or her expense if he or she is able to employ counsel or at public expense if he or she is unable to employ counsel, inquire of him or her whether he or she is able to employ counsel and, if so, whether he or she desires to employ counsel of his or her choice or to have counsel assigned, and allow him or her a reasonable time to send for his or her chosen or assigned counsel. If the defendant is unable to employ counsel, the court shall assign counsel to defend him or her.
If the defendant is able to employ counsel and either refuses to employ counsel or appears without counsel after having had a reasonable time to employ counsel, the court shall assign counsel.
The court shall at the first opportunity inform the defendant's trial counsel, whether retained by the defendant or court-appointed, of the additional duties imposed upon trial counsel in any capital case as set forth in paragraph (1) of subdivision (b) of Section 1240.1.