Say what?
I've never heard of any case where a non-governmental officiant was forced to perform a same-sex marriage against their will.
In my country, the Netherlands, there is a strict separation between civil marriage and "church marriage". A civil marriage is performed at town hall (1) by an officiant/registrar who is a civil servant of the town (2). Any other ceremony is a fake wedding, in legal terms, and they're expressly verboten by law to be conducted
before the civil marriage.
When SSM was introduced in 2002, various towns had officiants on the books who objected to SSM and wouldn't perform them. They were allowed to still do their jobs as long as the town had enough officiants on the books who would do so. Only in 2014, a law was passed that obliged every officiant to perform any wedding. Methinks that's enough time for those bigoted officiants to find another job. Mind, they're civil servants and they should perform their duties as spelled out in the law.
People who want a religious ceremony as well often plan the church service directly after the town hall ceremony. So all the guests first go to the town hall ceremony where the town officiant gives a nice speech and spells out the obligations of (civil) marriage and actually marries the couple, and then to the church where the priest/minister does the same for the obligations of a church "marriage". Or the couple does the town hall part as a quickie a few days before, with only the two witnesses in a simple town hall office.<snip for relevance>