Section 17. Period of detention

17. No person shall be detained in a Borstal school after he has, in the opinion of the State Government, attained the age of twenty-three years, or, if in any particular case the State Government so directs, after he has attained the age of twenty-five years.