I think many people who wouldn't be disincentivized by demerits/expulsion/etc would find the threat of intense physical pain highly motivating.
Caning is no joke.
Caning is no joke.
There was one though, small kid that probably had a harder life at home than us, he wasn't fazed by the caning, didn't even flinch. Even him avoided getting in trouble too frequently, so caning still kind of worked.
Edit: I think the most terrifying thing wasn't the pain, but the sharp SLAP!.