@Nerde That's the opposite of what the Supreme Court ruling said.
Its specifically called on the prosecution of former presidents who might have done things illegal that would have led to dictatorship.
No, that's not what the ruling said at all, you can go read it for yourself, whoever told you that is lying to you and you should not trust them anymore.