You'll forgive me, but it's section 24 that specifically says “despite section 23”, which is the one that mentions the prohibition against targeting Canadians or persons in Canada. It says that despite that, you “collect publicly available information for”, and it lists the reasons.
Section 25 mentions these vague notions of measures being taken to protect privacy. Can you point me to the specific part of the bill that explicitly outlines what's done to protect privacy, and the things you're explaining about destroying that information or not keeping it? Insofar as the information collected under section 24 is concerned, I just don't see that.