I don't think it would, because it's the probation officers who have to make that call when collecting it. How would they go about doing so? They know the person has been convicted of whatever offence they've been found guilty of, and they're going from there when collecting information. Then it finds its way into the report, and the report goes to the judge and becomes an exhibit.
With the law as it is now, the crown or the court would have to say there's something apparently wrong, that there's a mental health issue that should be sought out. Then there's a hearing about that. Then an assessment is made.