BRASILIA, Nov 7 (Reuters) - Brazil’s Supreme Court decided on Thursday to end mandatory imprisonment of convicted criminals after they lose their first appeal, restoring the previous rule that they should be allowed to exhaust all their appeal options before being locked up.

The politically charged re-interpretation of Brazil’s penal code could lead to the release of dozens of high-profile convicts, including former leftist president Luiz Inacio Lula da Silva, jailed last year for taking bribes. (Reporting by Anthony Boadle; Editing by Sandra Maler)