The notwithstanding clause was created as a compromise between federal and provincial officials during debates over a new constitution in the 1980s.
https://www.cbc.ca/news/canada/canada-constitution-notwithstanding-factsheet-ford-1.4817751
Your Music and More ..