The New York City Council and a group of banks traded briefs on Monday over the banks’ legal challenge to a law that could influence $6 billion in deposits from the city.

The city law creates an advisory board to examine how well banks serve the city’s low- and middle-income communities. The information would then be given to city officials and made public. The banks could choose not to participate.