You can't commit both crimes--or, at least, not at the same time.
It is impossible to commit both crimes at the same time.