Without regard to its wording, any court order of commitment under this part shall be considered in law as a transfer of the person to the custody of the commissioner.