If same sex marriage is legal and you are an instiution that marries people, then to refuse on the grounds of gender would be seen as discriminatory and so against the law.
You can fix ignorance, you can't fix stupid.
Tinkety Tonk and down with the Nazis.