The government of Prime Minister Recep Tayyip Erdogan, which has Islamist roots, has been campaigning for the regulations to be relaxed or removed.
However, at the judge's funeral at Ankara's main mosque, many protesters chanted slogans calling for the government to resign, calling cabinet members a threat to the secular republic.
Ministers who attended the service were booed
Earlier, at least 15,000 protesters, from students to judges dressed in their robes, marched to the mausoleum of Mustafa Kemal Ataturk, the founder of modern, secular Turkey.
"Turkey is secular and will remain secular," many chanted, in a procession broadcast live on national television.
A good sign.