"If I cannot stop the performing of Eid prayers on the roads, I have no right to stop Janmashtami functions in thanas," he said at an event organised in Lucknow last night by the Prerna Jansanchar Evam Shidh Sansthan, Noida, and the Lucknow Jansanchar Evam Patrakarita Sansthan.
Reacting to the chief minister's remarks, All India Muslim Personal Law Board member Zafaryab Jilani said it would be wrong to compare the celebration of Janmashtami in police stations with the offering of namaz on the streets.
"There is no harm in offering namaz on the streets or even doing worship there. But using government machinery (police) to facilitate worship within the premises of a police station is wrong," he told PTI.
The state government's order that the festival be held in a "grand but dignified" manner in police stations had drawn flak from the opposition-- the Congress and Samajwadi.
The Congress criticised the government for being insensitive as the celebration order came in the wake of the deaths of infants in a state-run hospital in Gorakhpur.
The Samajwadi Party, too, had condemned the order.
The government ordered last week that the celebrations to mark the birth of Lord Krishna -- be held in police stations and prisons. Legend has it that the Hindu god was born in a prison in Mathura.
If there were no damru-dhols --percussion instruments linked with Lord Shiv -- and music, how would it be a kanwar yatra, he wondered. "I said in UP there will be no ban," he said.
The chief minister pointed out there were 4 crore kanwar yatris, but there was no disorder anywhere between Ghaziabad and Haridwar, the route followed by many devotees.
"This is discipline. When you put a ban on their discipline and play with their emotions, then there will be a problem," he said.
He said if it could be ensured that microphones were banned everywhere and no sound emanated from any place of worship, a ban on DJs or music could be enforced during the kanwar yatra.
If it was not possible to ban microphones everywhere, the yatra would continue in the usual way, he said.
Get Breaking news, live coverage, and Latest News from India and around the world on NDTV.com. Catch all the Live TV action on NDTV 24x7 and NDTV India. Like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.