I think the latest studies suggest adolescence can keep going until your late 20s. I agree you can’t set a firm line on that because of course these aren’t discrete things and everyone is a bit different, but maybe set an admittedly-still-arbitrary age of ~26.
Or I would just do what the UK did and stop capital punishment since I think it’s wrong.