Ten of those detained were charged with assaulting officers, according to a statement from the New South Wales Police.