The punishment which a court-martial may direct for any offense may not exceed such limits as the governor may prescribe for that offense subject to the limits prescribed by sections 40.005 to 40.490.