(2) When a person is sentenced to death, or to any other punishment, and the Royal Mercy is extended to him or her, on condition of his or her undergoing a lawful punishment other than death, or other than that imposed upon him or her, as the case may be, it shall be lawful for the Governor General to give all directions and to do all things necessary to enforce such other punishment.