However, in the event that a court of competent jurisdiction determines, or the parties by mutual agreement determine, that an existing license, permit, franchise, or other right has been abrogated or impaired by this chapter, or its execution, the municipality affected shall impose and the public utility shall collect an excise tax on the utility charges which from year to year yields an amount w