No franchise granted under this chapter shall ever be given any value before any court or other public authority in any proceeding of any character in excess of the cost to the grantee of the necessary publication and any other sum paid by it to the municipality therefor at the time of acquisition.