They could have offered to continue with the service, but make it clear that homosexuality is a sin, and give an invitation to receive forgiveness, salvation, and help. If the parents agreed to that, then fine. Otherwise, find another church which bows to political pressure.
Or, find a church that praises God, trusts His judgement, and does not believe its priests are God.