A California city cannot have its unlawful city sales tax ordinance rewritten by a state court to become a lawful transaction tax, the state appeals court affirmed in an opinion.