Yes but this is different - a Muslim country enforcing its own rules against an Islamist activist, and Meta complying.
I see this all the time in such cases - deflections about the legality of censorship, to avoid the issue that they want to keep the censorship itself, or the source of it, secret. "They" in this case being Meta, unless they produce a legal order compelling them to deceive us.