NEW HAVEN — It started out as a deeply personal act, that of a father officiating at the wedding of his son.

But it was soon condemned as a public display of ecclesiastical disobedience, because the father, the Rev. Dr. Thomas W. Ogletree, is a minister in the United Methodist Church, which does not allow its clergy to perform same-sex weddings.

Dr. Ogletree, 79, is now facing a possible canonical trial for his action, accused by several New York United Methodist ministers of violating church rules. While he would not be the first United Methodist minister to face discipline for performing a same-sex wedding, he could well be the one with the highest profile. He is a retired dean of Yale Divinity School, a veteran of the nation’s civil rights struggles and a scholar of the very type of ethical issues he is now confronting.

“Sometimes, when what is officially the law is wrong, you try to get the law changed,” Dr. Ogletree, a native of Birmingham, Ala., said in a courtly Southern drawl over a recent lunch at Yale, where he remains an emeritus professor of theological ethics. “But if you can’t, you break it.”