In two hours of rapid-fire arguments, the majority of Supreme Court justices on Tuesday sent strong signals that San Francisco had no legal authority to defy California law and wed more than 4,000 same-sex couples.