By John L. Allen Jr. and Hada Messia, CNN

Aboard the Papal Airplane (CNN) - Pope Francis said Monday that he will not "judge" gays and lesbians, including gay priests, signaling a shift from his predecessor and offering another sign that the new pope is committed to changing the church's approach to historically marginalized groups.

“If someone is gay and he searches for the Lord and has good will, who am I to judge?” Francis said in a wide-ranging news conference aboard the papal plane.

Though he was answering a question about the so-called "gay lobby" at the Vatican, the pope indicated a change in tone, if not in teaching, in the church's stance towards gays and lesbians more generally.

The pope was flying back to Rome from Brazil, where he spent the past week celebrating World Youth Day, an international Catholic event that drew millions.

Taking questions from reporters aboard the plane, the pope addressed nearly every hot-button issue facing the Roman Catholic Church: its alleged "gay lobby," Vatican bank corruption, the role of women, abortion, homosexuality and his own personal security.

But it was the pope's remarks on homosexuality - the fact that the head of a 1 billion-member church said that it's not his place to judge gays - that caused the widest stir.

"Pope Francis's brief comment on gays reveals great mercy," said the Rev. James Martin, a Jesuit priest and editor at America, a Catholic magazine based in New York.

"Today Pope Francis has, once again, lived out the Gospel message of compassion for everyone," Martin said.

The pontiff spoke for an hour and a half in the back of the plane that was carrying him back to Italy after his first international trip as pope to Brazil, where he was greeted by massive, frenzied crowds at every turn.

"I'm happy. It has been a beautiful trip, spiritually speaking; it has been good to me. I'm tired enough but with a heart full of joy," he said.

Here are the highlights from his press conference.

On the 'gay lobby' and homosexuality

The pope addressed the issue of an alleged "gay lobby" within the church. Hints that the Holy See contained a network of gay clergy surfaced last year in reports about a series of embarrassing leaks to Italian journalists.

The "Vatileaks" scandal factored in Benedict's shocking decision to resign this year, according to some church experts, as it impressed upon the 86-year-old pontiff that the modern papacy requires a vigorous and watchful presence.

"There's a lot of talk about the gay lobby, but I've never seen it on the Vatican ID card!" Francis said.

"When I meet a gay person, I have to distinguish between their being gay and being part of a lobby. If they accept the Lord and have goodwill, who am I to judge them? They shouldn't be marginalized. The tendency (to homosexuality) is not the problem ... they're our brothers."

The problem, he said was, lobbies that work against the interest of the church.

In 2005, during the papacy of Pope Benedict XVI, the Vatican issued directives barring from the priesthood men "who are actively homosexual, have deep-seated homosexual tendencies, or support the so-called 'gay culture.'"

Francis' brief remarks seem to signal a sharp shift from that policy.

On women

The pope also spoke out about the role of women in the church, saying it needs to be deeper and not end. But he brushed aside the possibility of ordaining women as priests, saying the church had spoken on the matter: "The church says no. That door is closed." He did say that more work needed to be done theologically on the role of women in the church.

On abortion

Pope watchers have noted that Francis said little to nothing about abortion on his trip to Brazil. Abortion is illegal in Brazil, except for cases in which the health of the mother is at risk. Laws were recently changed to allow abortions in cases in which the child would be born with certain life-threatening birth defects.

The pope said he had nothing to say on the trip about abortion because the church teachings against it were clear and this trip was the time for "positive" news.

On divorce

"I believe this is a time of mercy, a change of epoch," the pope said when asked about divorce. He said the group of eight cardinals tasked with reform will explore the issue of whether divorcees can receive Communion, which they are currently barred from doing.

On the Vatican Bank

The pope conceded he was unsure what to do with the Vatican Bank, which is known by its acronym IOR.

"Some say that it would be better if it were a bank, others say that it should be a foundation. Other say to shut it down. These are the suggestions going around. I don't know. I trust the commission's members that are working on the IOR. But I wouldn't be able to tell you how this story is going to end."

And as for what was in the black leather bag he carried onto the plane? A razor, a prayer book, a diary and a book about St. Theresa, but, the pope joked, "Certainly not the keys to the atomic bomb!"

He said he carried his own bags because, "It's normal, we have to be normal. We have to be accustomed to being normal."

CNN's Eric Marrapodi and Daniel Burke contributed to this report.