The law says
IRPR r. 213213 Subject to sections 214 and 215, in order to study in Canada, a foreign national shall apply for a study permit before entering Canada.
Justice Laws is the authoritative version. If this copy and it ever differ, Justice Laws wins.