In court, the mayor was on the offensive while defending himself, saying the police should be brought in to investigate the deal.