How can India balance environmental concerns with cultural practices when regulating firecrackers?

The Supreme Court has said that a complete ban on firecrackers does not work and called for a balanced approach. I want to understand how policy can address both environmental protection and the significance of festivals that use firecrackers.