They could just not name him, like in the example below from Illinois.
The boy is accused of killing a one-year-old, two two-year-olds, a 34-year-old man and a 69-year-old woman at the Timberline Mobile Home Park, 240 kilometres southwest of Chicago.
globalnews.ca
"It was a heavy decision,” Minger said. “It’s a tragedy, but at the end of the day, it’s charging a very young person with one of the most serious crimes we have. But I just think it needs to be done at this point, for finality".
People who are actually out there working as prosecutors do not possess rigid, closed minds, fixated on rules. They understand the larger picture and are mentally flexible in deciding what is most appropriate in each specific circumstance.
JMO