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

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.