[Sentencing] The passing and execution of a sentence must be only by a competent court and in accordance with law. ...