I wouldn't say it's part of the job. It is a fact that the Criminal Code applies equally to everyone, as do other acts. If you're in a position where there are certain actions you undertake, or don't undertake through an omission, you could be subject to penalties based on those unique offences.
On June 18th, 2024. See this statement in context.