Nothing in this chapter shall be construed to restrict or impair the power of any court or judge having jurisdiction to pronounce sentence upon a person to whom this chapter applies, to fix the term of imprisonment and to order commitment, according to law, nor to deny the right of any such court or judge to sentence to imprisonment; nor to deny the right of any such court or judge to suspend sentence or the execution of judgment thereon or to make any other disposition of the case pursuant to law.