When all the conditions required in circumstance number 4 of article 12 of this Code to exempt from criminal liability are not present, the penalty of arresto mayor in its maximum period to prision correccional in its minimum period shall be imposed upon the culprit if he shall have been guilty of a grave felony, and arresto mayor in its minimum and medium periods, if of a less grave felony.