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 0423 GMT (1223 HKT) August 25, 2018

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.
As the bill was being debated in May, Education Minister Richard Bruton said it was "unfair that a local child of no religion is passed over in favor of a child of religion, living some distance away, for access to their local school," adding that "parents should not feel pressured to baptize their child."
Efforts to reach representatives and advocates for Catholic schools to comment for this report went unanswered.
But one school official gave an interview to public broadcaster RTE in May.
Seamus Mulconry, general secretary of the Catholic Primary Schools Management Association, said dropping the baptism barrier was "redundant," emphasizing that the issue of admissions was not about religious discrimination but about there not being enough schools in a few high-growth areas.
"The issue is the lack of school places, not religion," Mulconry told RTE. He emphasized that Catholic schools would welcome any student who wanted to join, as long as there was a place for them.