Both cities have introduced measures that make it illegal to set off fireworks outside of organised displays in some areas.