The city had asked the actor to pay for the cost of the investigation in which police said he falsely claimed that two men had attacked him.