A fourth person has been arrested and charged with a crime after being released from indefinite detention after the High Court ruled it illegal.