"This is a bad agreement that gives Iran what it wanted: the partial lifting of sanctions while maintaining an essential part of its nuclear programme," said a statement published a few hours after the historic agreement was reached in the Swiss city.