no-one shall be convicted in respect of an act or omission which did not constitute an offence known to written or custom law at the time it was committed;