It is hereby declared that a person charged under this Act with an attempt to commit any offence may be convicted notwithstanding proof that he actually committed that offence.