Whenever a petition has been executed pursuant to Sections 4-401 or 4-501, and prior to the examination for the purpose of certification, the person conducting this examination shall inform the person being examined in a simple comprehensible manner: that he is entitled to consult with a relative, friend, or attorney before the examination and that an attorney will be appointed for him if he desires; that he will be evaluated to determine if he meets the standard for judicial or emergency admission; that he does not have to talk to the examiner; and that any statement made by him may be disclosed at a court hearing on the issue of whether he meets the standard for judicial admission. If the respondent is not so informed, the examiner shall not be permitted to testify at any subsequent court hearing concerning the respondent's admission.
405 ILCS 5/4-210