Be it further enacted by the authority aforesaid, That any officer of said city who may be sued for any act done in his or their official capacity may justify under this charter.