Nothing contained in any provisions of Article V applies to any offense committed or other acts done at any time before the day when such Article takes effect. Such an offense must be punished according to and such act must be governed by the provisions of law existing when it is done or committed in the same manner as if this chapter had not been passed. An offense specified in such Article takes effect and must be punished according to the provisions of such Article and not otherwise.