Madame Mame Madior BOYE, Magistrat