Bolsonaro was detained by police days ahead of his imprisonment after the Supreme Court worried he could mount an escape attempt.