If an act or omission is both an offence under this Act and an offence under a law of the Commonwealth or of another State, a person who is not liable to be proceeded against for the offence under this Act.(a) is convicted of the offence under that law; or(b) is found by a court to have committed the offence under that law but is not convicted