Agreement allows protestants to return home