—(1) Notwithstanding anything in this Code or in any other written law, a written statement made by any person is admissible as evidence in any criminal proceeding (other than a committal hearing held under Division 2 of Part X), to the same extent and to the same effect as oral evidence given by the person, if the following conditions are satisfied:
the statement appears to be signed by the person who made it;
the statement contains a declaration by the person to the effect that it is true to the best of his knowledge and belief and that he made the statement knowing that, if it were given in evidence, he would be liable to prosecution if he stated in it anything he knew to be false or did not believe to be true;
before the hearing at which the statement is given in evidence, a copy of the statement is served, by or on behalf of the party proposing to give it, on each of the other parties to the proceedings;
before or during the hearing, the parties agree to the statement being tendered in evidence under this section; and
the court is satisfied that the accused is aware of this section or is represented by an advocate during the criminal proceeding.
(2) The following provisions also apply to any written statement given in evidence under this section:
if the statement is by a person below the age of 21 years, it must state his age;
if it is made by a person who cannot read it, it must be read to him before he signs it and must be accompanied by a declaration by the person who read the statement to him, stating that it was so read; and
if it refers to any other document as an exhibit, the copy of the written statement must be accompanied by a copy of that document or by information that will enable the party on whom it is served to inspect that document or a copy of it.
(3) Where in any criminal proceedings a written statement made by any person is admitted in evidence under this section —
the party by whom or on whose behalf a copy of the statement was served may call the person to give evidence; and
the court may, of its own motion or on the application of any party to the proceedings, require the person to attend before the court and give evidence.
(4) So much of any statement as is admitted in evidence under this section must, unless the court otherwise directs, be read aloud at the hearing and where the court so directs an account shall be given orally of so much of any statement as is not read aloud.
(5) A document or object referred to as an exhibit and identified in a written statement given in evidence under this section must be treated as if it had been produced as an exhibit and identified in court by the maker of the statement.