History shows that right up to the 20th century, women were 'sectioned' on all sorts of non-medical pretexts.