Once again, you're spreading wrong information and misguding everyone. If a study permit is invalid/expired but the study visa/counterfoil which is stamped on the passport is valid, you are able to reenter Canada.
This is what you have assumed but definitely not the correct information. The counterfoil/visa is not the same as the study permit. The study permit can be invalid while the counterfoil remains valid.