Accurate classification of 17 AGNs detected with Swift/BAT