It's quite likely they had no idea.
Easy to imagine a scenario where there is a company owning the building, one owning the cameras and maintenance, one owning the data/recording, all wrapped up in management partners mergers shells etc.
With government, unless it's an organization mature enough to do something deliberately covert, it's more likely theres so much bureaucracy to deal with that everybody knows who they are working for.
The NYPD has covert operations not only all over the country but in many foreign countries so I'd say they're operating at a pretty high level of sophistication in that sense.
I was curious about this so I did some Googling. Apparently it's called the International Liaison Program, a subdivision of the Department Intelligence Bureau. More info here. [1]
Apparently referring to the “International Liaison Program” run by the “NYPD Intelligence Bureau“ which has only executive oversight and is funded by the “New York City Police Foundation” instead of the city itself.