They may have banned after-market alarms, but factory-installed car alarms are standard on pretty much every new car in the past 10+ years anyway. I still hear those go off on occasion in NYC.
I’m actually having trouble finding a source on the exact rules of the ban, but there are old news articles suggesting that after-market alarms with motion activation were the focus: https://www.qgazette.com/articles/car-alarm-sales-banned-by-...