Updated

The European Union is telling Iran to cooperate with a stalled U.N. probe of suspicions that it worked on atomic arms if the country wants a nuclear deal that will see removal of sanctions.

The cautionary EU statement comes ahead of a June 30 target date for such an agreement. It was obtained by The Associated Press ahead of its delivery at a meeting of the U.N's International Atomic Energy Agency that opens Monday.

Iran denies any work on — or interest in — nuclear arms and has fended off IAEA demands for cooperation with its investigation. The EU statement says getting to the bottom of the allegations "will be essential" to a nuclear deal.

Iran also would have to accept limits on its present nuclear activities.