My ID card in Poland will expire in few weeks, hence I need to apply for a new one. I want to take a photo for the new ID wearing head cover that is common in my religion. However Polish law regarding requirements for photograph for ID seems to contradicts the constitution here.
One can only take a photo in the head cover if one belongs to any religion.
The law states (article 29.3 Ustawy o dowodach osobistych) that I need to reveal my religion to the state by showing confirmation from my church that I belong there. However the constitution (article 53.7) says
No one can be required by public authorities to disclose their worldview, religious beliefs or religion.
My religion is not registered formally in Poland (though it is in some other countries in the world). The registration process is in-progress since 2012 and currently the case is at ECHR but I don't think it will be finished anytime soon.
Which law would take priority here?