Well done for keeping your cool and great news on the conviction.
You've come out on top in every aspect.
Nothing you did there was wrong. Taking the lane is never questionable as it's your right. Riding on the pavement as you were being harassed with a weapon is never questionable either.