There is one further matter that should be mentioned. It was not suggested on behalf of the appellant that the learned trial judge was in error in dealing, on a voire dire hearing, with the appellant's submission that, even on the assumption that the confession was voluntary, it should nonetheless be excluded on discretionary grounds before determining whether it was in fact voluntary. We would, however, indicate that we do not consider that his Honour was in error in adopting that course in the circumstances of the present case. Ordinarily, in a case where there is dispute both about the voluntariness of an alleged confessional statement and about whether evidence of it should be excluded on discretionary grounds, it will be appropriate and convenient to hold a single voire dire hearing at the end of which the questions of voluntariness and exclusion on discretionary grounds are dealt with in that order. When that approach is adopted, it will be necessary to determine the question of exclusion on discretionary grounds only if the issue of voluntariness is resolved in favour of the Crown. Circumstances may, however, arise in which the preferable course is to consider first the question whether evidence of the alleged confessional statement should be excluded on discretionary grounds. If, for example, the parties are agreed that the resolution of the question of voluntariness will involve a lengthy voire dire hearing to determine disputed facts, it is open to a trial judge to deal immediately with a submission on behalf of the accused that, even on the assumption that the question of voluntariness would ultimately be resolved in favour of the Crown, the facts which are not in dispute are such that the relevant evidence should be excluded on discretionary grounds. It was open to the trial judge, as a matter of discretion, to adopt that course in the present case where both the appellant and the Crown supported its adoption and joined in informing him that the question of exclusion on discretionary grounds, unlike the question of voluntariness, would not involve the reception of oral evidence. His Honour's error in rejecting the submission that the evidence should be excluded on discretionary grounds flowed either from his original finding that the arrest of the appellant had not been solely for the purpose of questioning or from his adherence to the ruling based on that finding after the oral evidence on the voire dire hearing as to voluntariness had made it apparent that the finding was mistaken.