In my opinion, a Catholic baker, florist, photographer, caterer, etc., who refuses to provide services to a gay wedding doesn't have a legal leg to stand on (or a supposed church teaching to hide behind) if they also provide services to other weddings that don't meet the standard of Catholic teaching -- such as a wedding in which at least one of couple is divorced.