A judge has ordered that a Black Power member who had a patched vest seized under gang insignia laws should get it back.