A NSW police officer charged with assaulting an Indigenous teenager claims the force he used was justified, because he thought he was about to be assaulted, a Sydney court hears.