The phrase "in order to the committing of an offence" means "with the purpose of" committing that offence, and the offence need not be actually completed for the provision to apply.
Matiullah Sheikh v. State of West Bengal1964 (6) SCR 978; 1965 AIR(SC) 132Cited by 4 later judgments on this provision