crime which was not a crime when % the act was committed. But the law of 1 >»'."> does pun - i ish In point of fact, because it precludes the petitioner from the exercise of a lawful occu-