you are right. In the airport you will be leaded into separate room where IO will check your application, if I140 was denied, then definite invalided your AP.