The actress' devotion to the prayer came as she asked God to save her unborn child.
The lawsuit was filed in 2020, but argued only last month before U.S. District Judge Reed O’Connor.
The Catholic Church teaches that abortion is a grave evil and is never acceptable at any stage of pregnancy.
The architects who have planned the restoration project for the shrine said that the wood supporting the roofing has been damaged by fungi and rotting due to humidity and water leaks.
Spears ended up celebrating her wedding with actor Sam Asghari at their home in the Los Angeles area in June.