Ministers oppose ban on same-sex marriage