Berlin (CNN)Every public building in the southern German state of Bavaria is now required to display a Christian cross at the entrance to greet visitors.
The law, which came into effect Friday, has re-ignited a fierce national debate about the role of religion in politics and what it means to be German.
"The cross is a fundamental symbol of our Bavarian identity and way of life. It stands for elementary values such as charity, human dignity and tolerance," declared Bavarian State Premier Markus Soder at a cabinet meeting in April when the new requirement was announced. He then walked out and nailed a cross to the wall of the lobby in the Bavarian State Chancellery.
Parts of Germany have been grappling with a crisis of identity after the country accepted more than a million refugees in 2015, many of whom are Muslims.
Many arrived across the border from Austria, entering Germany via Bavaria, one of Germany's most politically and socially conservative states. It also has one of the highest proportions of Christians -- in the 2011 census, over 75% of Bavarians identified as Roman Catholic or Protestant, compared to 62% nationwide.
Bavaria's ruling party, the Christian Social Union (CSU), has been steadily losing voters to the far-right, anti-Muslim Alternative for Germany (AfD) party.
The "Kreuzpflicht" or "crucifix obligation," ushered in before new elections in October, may be one attempt to win voters back.
'Law could create unrest'
The AfD, which became the first far-right party in decades to enter German parliament following elections last year, criticized the new law as a superficial piece of politics. "The Christian cross is being turned into an election accessory, while the conservatives refuse to protect our basic values with real actions," said the AfD's co-chair, Alice Weidel, in a statement in April.