Sounds like a violation of 18 U.S. Code § 242. Deprivation of rights under color of law - https://www.law.cornell.edu/uscode/text/18/242
and 18 U.S. Code § 241. Conspiracy against rights - https://www.law.cornell.edu/uscode/text/18/241
Sounds something like a subpoena, not a request; these are (in many systems) issued and signed by attorneys, not judges. Now, if there is a legal argument that the material is not subject to subpoena, in the US a motion to quash is available, and something similar may be available in other systems, but they aren’t mere requests, they are obligatory unless successfully quashed.
A request by a prosecutor is an informal request.
A search warrant signed by a judge is a formal demand.
Your corporate data policy will dictate whether you can share customer information without a search warrant or a subpoena.
I do believe this request was pushing the legal boundaries as the law describes the request should be as specific and narrow as possible [0]. (with "as possible" being a rather big loophole)
(Dutch)
[0] https://maxius.nl/wetboek-van-strafvordering/artikel126nd
[1] https://maxius.nl/wetboek-van-strafrecht/artikel184/lid1#:~:...