No it isn’t (there are similar laws in at least France and Italy, and a much broader one in the UK).
All of this delightful nuance goes to my previous point; there’s plenty to debate and discuss here and the whole idea of an absolute right to privacy in public is comical.