Facts
The appellant, a national of Bosnia and Herzegovina born in 1969, married in September 2013 in her country a Portuguese national holding a long-term EU/EFTA residence permit. She entered Switzerland on 8 September 2013 to join her husband, who was domiciled in Puidoux (Vaud). On 17 January 2014, she obtained an EU/EFTA residence permit on the basis of family reunification.
After the appellant changed her address, the Vaud Cantonal Population Service (hereinafter: the Cantonal Service) heard the spouses on 24 May 2016. They stated that they had been living separately since 1 May 2016. On 5 August 2016, the Cantonal Service announced its intention to revoke the residence permit. The appellant explained that her husband wanted to divorce, which she refused. At a hearing on 26 August 2016 before the President of the Civil Court of the Eastern Vaud District, the spouses agreed to live separately for an indefinite period. A separation agreement was ratified on 16 August 2016, and the appellant was permitted to remain in the marital home.
By decision of 22 November 2016, the Cantonal Service revoked the residence permit and ordered her removal. The appellant appealed, producing a letter from her husband dated 6 February 2017 stating that he had not yet decided on a divorce, that the spouses saw each other regularly and were considering resuming married life together.
By judgment of 18 May 2017, the Administrative and Public Law Court of the Vaud Cantonal Court (hereinafter: the Cantonal Court) dismissed the appeal. It held that the appellant was invoking her marriage abusively, as the spouses did not wish to lead a genuine conjugal life.
Before the Federal Supreme Court, the appellant primarily requests that the cantonal judgment be reformed, that the decision of the Cantonal Service be annulled and that her residence permit be renewed; in the alternative, that the judgment be annulled and the matter remitted to the prior instance; in the further alternative, that the matter be remitted to the Cantonal Service. She requests legal aid. The Cantonal Court refers to its considerations, and the Cantonal Service waived submitting observations. The President of the Second Public Law Court granted suspensive effect on 20 June 2017.
Main question: can the appellant rely on the AFMP and on Article 3 Annex I AFMP when the separation has lasted more than one year, divorce is contemplated and married life has not resumed?
Considerations
As to admissibility, the Federal Supreme Court examines Article 83 let. c no. 2 FSCA. The appellant may potentially derive a right of residence from her marriage to a Portuguese national within the meaning of Article 7 let. d AFMP in conjunction with Article 3 paras. 1 and 2 Annex I AFMP. The appeal is therefore admissible on this point, without prejudice to any abuse of rights, which goes to the merits (ATF 139 I 330 consid. 1). The appeal, directed against a final decision of a higher cantonal court (Article 86 para. 1 let. d and para. 2 FSCA, Article 90 FSCA), filed in time and in the prescribed form, by the addressee of the judgment who has standing to appeal (Article 89 para. 1 FSCA), is in principle admissible.
As to the complaint of arbitrariness (Article 9 Federal Constitution), the Federal Supreme Court rules on the basis of the facts established by the prior authority (Article 105 para. 1 FSCA), subject to the exceptions of Article 105 para. 2 FSCA. A correction of a fact must be capable of affecting the outcome of the case (Article 97 para. 1 FSCA). Arbitrariness presupposes that the judge manifestly failed to understand a piece of evidence, disregarded without serious reason an important piece of evidence, or drew untenable inferences (ATF 140 III 264 consid. 2.3). In this case, the Cantonal Court did not disregard the letter of 6 February 2017, but found that this element was not decisive, since Article 114 CC required two years of separation before a divorce on unilateral request, and the couple's situation had not changed. The complaint is rejected. Furthermore, the appellant presents her own version of the facts without invoking any manifestly inaccurate finding; the Federal Supreme Court is not an appellate court and does not take into account allegations that do not appear in the contested judgment (alcohol and drug consumption by the spouse).
On the merits, the Foreigners Act applies to family members of EU/EFTA nationals only to the extent that the AFMP does not provide otherwise or the law contains more favourable provisions (Article 2 para. 2 FNA). The spouse of a Community national holding a right of residence may settle with them (Article 7…