 The court's action also placed a legal cloud over more than 4,100 gay couples who have gotten marriage licenses since Mayor Gavin Newsom began issuing them. The court did not address those marriages, although city officials insist they remain legal.