In immigration debate, same-sex marriage comes to the fore In his final legislative act as a senator, Secretary of State John F. Kerry sought to resolve an international dilemma. He filed Senate Bill 48, seeking "permanent resident status for Genesio Januario Oliveira," a gay Brazilian national facing deportation because he does not qualify for a spousal visa. Now, President Obama is aiming to grant same-sex couples like Oliveira and his American husband, Tim Coco, equal immigration rights as their heterosexual counterparts. The proposal could allow up to 40,000 foreign nationals in same-sex relationships to apply for legal residency and, potentially, U.S. citizenship. Mapping same-sex marriage Aaron Blake But the measure has inspired fierce pushback from congressional Republicans and some religious groups, who say it could sink hopes for a comprehensive agreement aimed at providing a path to citizenship for 11 million undocumented immigrants. The standoff may force Obama to choose between two key interest groups - Hispanics and gays - that helped power his reelection last fall. The president must weigh how forcefully to push the bill, known as the Uniting American Families Act, while not endangering a long-sought deal to resolve the status of undocumented immigrants, most of whom are Latino. The same-sex measure was not included in the immigration proposals issued last week by a bipartisan Senate working group, whose overall framework Obama largely embraced. Several key Christian groups that have supported the White House's immigration push have objected to the measure on the grounds that it would erode traditional marriage. The issue has prompted an intense lobbying effort on both sides, including a letter to the White House from a coalition of influential church organizations and a series of urgent conference calls between advocates, administration officials and lawmakers. For Obama, the political sensitivity was evident in the public rollout of his immigration plans last Tuesday. Although the same-sex provision was included in documents distributed by the White House, the president did not mention it in his immigration speech in Las Vegas. "The president in his plan said that you should treat same-sex families the same way we treat heterosexual families," White House senior adviser Dan Pfeiffer said Friday on "Political Capital With Al Hunt." It's wrong to discriminate. It's a natural extension of the president's view about same-sex marriage, the view about providing equal rights, no matter who you love. But congressional Republicans immediately condemned the idea and warned that the measure imperils broader immigration reform. Sen. John McCain (R-Ariz.), one of the senators on the eight-member bipartisan working group on immigration, said at a Politico breakfast last week that injecting social issues into the debate over immigration legislation "is the best way to derail it." Which is more important: LGBT or border security? McCain said, using an abbreviation for people who are lesbian, gay, bisexual or transgender. I'll tell you what my priorities are.