As long as you are running a stock ecu, 'stock' engine (ie, sounds/looks stock), a catalytic converter, and a charcoal canister then I don't believe they'll ask for an IM240 test.
Stray outside the above, and they'll ask for one. (edit: missed your 'modified' comment)