Brazil's top court has ruled that there is enough evidence to warrant that Jair Bolsonaro be put on trial.