Faolán Matthews, 4, outside the North Kildare Educate Together school. Kara Fox/CNN

They baptized their children for school places. Now regret is setting in.

Updated 12:23 AM ET, Sat August 25, 2018

Chat with us in Facebook Messenger. Find out what's happening in the world as it unfolds.

Leixlip, Ireland (CNN)Fiona and her husband aren't religious. They don't go to Mass, take communion or recite the Holy Rosary.

But twice in recent years, the couple have driven halfway across Ireland to baptize their children at their families' community parishes.
The reason? Their children's education.
The sacrament -- and the certificate that comes with it -- has long held the key for parents hoping to secure a place for a child's first day at school in Ireland, where approximately 90% of primary schools have a Catholic ethos.
Although those schools are state-funded, their Catholic Church patrons set the admission guidelines, giving Catholic children priority enrollment over non-Catholics in a crowded system.
This school year, that's all set to change.
    In July, the Irish parliament passed a bill outlawing the "baptism barrier," making it illegal to prioritize baptized children in the admissions process at Catholic schools. The bill exempts minority faith schools, who account for only about 5% of all primary schools.
    The move was announced just a month before Pope Francis' scheduled visit to Ireland, the first papal visit in nearly four decades.
    It's the latest in a series of policy changes that reflect the gradual erosion of the ties between church and state -- changes that people like Fiona say reflect a modern, secular society fed up with the Church's hold on its public institutions.
    "We need to get our futures and our kids' futures and our own bodies out of the hands of religion," Fiona says.
    A sign at the Church of Our Lady's Nativity in Leixlip that was put up ahead of Pope Francis' visit this weekend.