EU says UN probe of Iran's alleged past nuclear weapons work will be essential part of deal

Director General of the International Atomic Energy Agency, IAEA, Yukiya Amano of Japan addresses the media during a news conference after a meeting of the IAEA board of governors at the International Center in Vienna, Austria, Monday June 8, 2015. (AP Photo/Ronald Zak) (The Associated Press)

Director General of the International Atomic Energy Agency, IAEA, Yukiya Amano of Japan addresses the media during a news conference after a meeting of the IAEA board of governors at the International Center in Vienna, Austria, Monday June 8, 2015. (AP Photo/Ronald Zak) (The Associated Press)

Director General of the International Atomic Energy Agency, IAEA, Yukiya Amano of Japan addresses the media during a news conference after a meeting of the IAEA board of governors at the International Center in Vienna, Austria, Monday June 8, 2015. (AP Photo/Ronald Zak) (The Associated Press)

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.