Of course you’re being misleading. There’s more than one way to ban things. “Comply or be censored” is pretty common in this weary World.
But go ahead, take your legalistic view. A journalist should know many of the worst actions of authoritarian governments are, strictly speaking, “legal”.