In a statement before his detention, the president said the ‘rule of law has completely collapsed in this country’.