If a court is of the view that there is information in a presentence report which should not be disclosed under § 23A-27-7, the court in lieu of making the report or part thereof available shall state orally or in writing a summary of the factual information contained therein to be relied on in determining sentence, and shall give the defendant, his counsel, or the prosecuting attorney an opportunity to comment thereon. The statement may be made to the parties in chambers.
SDCL 23A-27-8