The Evidence Act 1872 was replaced by the BSA 2023 (in force 2024-07-01); no verified section mapping on file for Section 23 — confirm the corresponding provision (savings: Section 170, BSA 2023).
In civil cases no admission is relevant, if it is made either upon an express condition that evidence of it is not to be given, or under circumstances from which the Court can infer that the parties agreed together that evidence of it should not be given. Explanation.-- Nothing in this section shall be taken to exempt any barrister, pleader, attorney or vakil from giving evidence of any matter of which he may be compelled to give evidence under section 126.