Upon a recommendation under section
3593
(e) that the defendant should be sentenced to death or life imprisonment without possibility of release, the court shall sentence the defendant accordingly. Otherwise, the court shall impose any lesser sentence that is authorized by law. Notwithstanding any other law, if the maximum term of imprisonment for the offense is life imprisonment, the court may impose a sentence of life imprisonment without possibility of release.