A San Francisco law giving minority-owned businesses priority in public contracts is getting a look-see by the California Supreme Court — ostensibly to determine whether it violates a constitutional amendment that outlawed affirmative action in California.

And although it wasn’t the city that sought review, its lawyers are taking the opportunity to argue that the court should strike down that controversial amendment.