The California Supreme Court on Wednesday removed any lingering legal doubts about whether same-sex couples can marry in California beginning June 17, setting the stage for a rush of gay nuptials that morning.