They didn't ban recommendations because they thought it was a "good idea".
They banned it to have reality comply with Brazilian electoral law which is written so that every candidate has the same amount of airtime.
It is not the job of the judiciary to determine whether a law should or shouldn't exist, but to make sure all laws are correctly enforced. Remembering this fact isn't optional.
Said differently, arguments about such decisions should revolve around whether the law says what the courts say it does or whether it was applied correctly—not whether the law should exist.
> It is not the job of the judiciary to determine whether a law should or shouldn't exist
The brazilian judiciary legislates on a daily basis.
To make reality comply with a specific government's jurisdiction is such an absurd proposition, that people would've laughed at someone 100 years ago if they suggested this as a practical option.