Sorry for my loose English. Canadian Consulate occasionally pick up some applicants and investigate their background: Will the applicant be harmful to Canada?
Did he have any criminal records in his/her motherland? .... If the applicant provides a good reference, the consulate may call the referee to check if this letter is a fake.