Only a bent bastard would disagree.
Solutions:
In the case of bakers/florists/photographers, I could see at least a temporary solution being: “I don’t do any weddings.” Or, “any multiple tiered cakes have no words or figurines on them.” Or “you may by flowers from me for any event but I do not design or install any flowers for any weddings.” Or “I will photograph any non-pornographic occasion, but not weddings.”
Of course you would lose a lot of business.
But you could conceivably stay in business, for a while, while we work on getting laws, lawmakers, and judges CHANGED.