it is up to the courts to decide if the legislature is going too far or not, not the legislature itself.
these "lengthy court battles" are called due process.
https://www.cbc.ca/news/canada/montreal/quebec-premier-defends-secularism-bill-to-the-public-in-short-video-1.5078782