The mayor pushed back, but the exchange represents an escalation in the standoff between the two branches of city government over the hotly contested devices.