White paper on access to rights and to court in pretrial detention