Defense of city's gun ban to be focus of hearing