That's not what the ruling said. Trumps actions weren't impermissible censorship, they were impermissible for other reasons. You can't just assume a court ruling was done for the reason you believe.
> Trumps actions weren't impermissible censorship, they were impermissible for other reasons.
They were impermissible as viewpoint-based censorship of a designated public forum in violation of the First Amendment, you are wrong that it was “for other reasons”.
Trump was blocking those who replied to his comments with takes that were critical of himself or of his policies.
He was silencing critics.
It wasn't allowed.