Learning a lesson
In the end, Ivan actually learned a lot. It’s a funny thing to say because when you first see the clip, you just assume that they learned nothing and would continue to cause havoc. But that just wasn’t the case, Ivan and his friend were punished for their actions by the court.
They needed to learn the hard way that they can’t just go around and do things like this anymore. Would it be enough to stop them from destroying things in the future? We don’t really know and we can’t say for certain, but Ivan and his friend definitely learned a lesson here.