A judge has said painful injuries suffered by a teen who crashed a stolen electric motorbike are an "ongoing punishment" and should be a warning to others.