San Francisco is asking companies to be good citizens and let the city keep taxes that a court may rule are invalid for failing to pass with two-thirds majority votes.

San Francisco is both being sued and is suing over the validity of a trio of local voter-approved, tax-raising initiatives that the city claims only require a majority vote to pass.

Voters last fall approved Proposition C, which imposes a 0.175 percent to 0.690 percent gross receipts tax on...