The basic legal rules regulating arrest and detention are also applicable to administrative detention, i.e. detention by the Executive for reasons unrelated to criminal activities, such as, for instance, detention for educational supervision, reasons of mental health, for the purpose of