Complex issue 

 This is quite a complex issue. There have been a few cases around the world where individual officials have solemnised marriages (e.g. France, Greece, Quintana Roo in Mexico). I don't think these jurisdictions should be included in the template, since there is no generalised recognition of same-sex marriage or possibility of generally entering into a legal same-sex marriage. However, what we have in Alagoas seems a bit different. I am prima facie in favour of including Alagoas based on the reasoning of User:Denisxavier. However, before we include Alagoas, we need a bit more information about how Brazilian marriage law works. In particular, I have two questions:

 *When an opposite-sex couple wants to enter into a marriage in Brazil, how do they do it? Are legal marriages registered at a Civil Registry Office, which conducts a civil ceremony and provides the marriage certificate? What is the role of the judge in these marriages? Also, what is a "Notary"? Are they a state official working in a Civil Registry Office, or a private person who can register marriages? The issue I am interested in here is: is the process for entering into a same-sex marriage identical to entering into an opposite-sex marriage in Alagoas? Or are there administrative / procedural differences?
 *Are Civil Registry Offices/Notaries obliged to register same-sex marriages in Alagoas, or are they merely allowed to do so? If they are not obliged to do so, then I think it's more problematic to include Alagoas in the template, because it means that the law is not being applied consistently.

 The fact that the highest federal court has not yet ruled on the matter is in my opinion irrelevant. When the Supreme Court of California legalised same-sex marriage in California, we still included it in the template, even if the Supreme Court of the US did not yet give its opinion. Wikipedia is flexible enough that it can accommodate to changing realities; if a superior court strikes down the lower court, then all we need to do is simply change the template again. This has been done a few times already. Cheers, '''''' ✉