As I mentioned previously, this is actual Canadian national law. Every single country has its own national frameworks for managing terrorist financing. Within each of those individual frameworks, some countries have put in special measures that allow them to permit things such as a licencing scheme or a way of permitting certain activities that otherwise would be deemed to be a contravention of the code.
On the individual examples of that, I'm not an expert on other countries' terrorist financing, criminal and otherwise, national frameworks, but fundamentally, that's what it is. They have a mechanism of some sort that permits them to do it.