"We know that young children can be unpredictable, so if one of them had run onto the road, then the situation would have been catastrophic," the magistrate said.