Notwithstanding any other provision of law, a city, county, or city and county may adopt an ordinance establishing procedures for the abatement and removal, as public nuisances, of abandoned, wrecked, dismantled, or inoperative vehicles or parts thereof from private or public property, and for the recovery, pursuant to Section 25845 or 38773.5 of the Government Code, or assumption by the local authority, of costs of administration and the removal.