Justices at the Brasilia-based STF, as the court is commonly known, made the unanimous decision at a hearing.
The ruling was delayed in February, when one of the justices asked for more time to analyze the case.