The whole point of the article is to educate you on the fact that people most often don't think of the consequences when doing crime. That's partly why punishment works so badly.
Did you read the article? They quite clearly make the point that there is no clear, direct relationship between offense rate and severity of punishment (17 vs 18 year olds), and they speculate this is because much of the behavior in question happens on autopilot. Hence CBT.
Variations of this have been tried and studied for decades if not more, and if there is one thing blindingly, unequivocally clear, it's that this does not work to reduce crime. (the debate could be about whether that's the (only) goal, my point is that for crime reduction it does not work)