

Generally questions like these vary by jurisdiction. Some allow trying a minor as an adult, like others have pulled out of their ass. Some don’t, some might not distinguish or don’t bother with a right to trial of any kind.
It’s a pretty typical principle that you try someone as they and the laws were at the time of the offence, though.
Thank you!