(1) No confession made to a police officer shall be proved as against a person accused of any offence.
(2) No confession made by any person whilst he is in the custody of a police officer, unless it is made in the immediate presence of a Magistrate, shall be proved as against such person.
Provided that when any fact is deposed to as discovered in consequence of information received from a person accused of any offence, in the custody of a police officer, so much of such information, whether it amounts to a confession or not, as relates distinctly to the fact thereby discovered, may be proved.