A teenager accused of attacking a police officer with two other boys outside Optus Stadium after an ‘out-of-control’ bike ride through the Perth CBD has pleaded guilty to assaulting a public officer.