The Iranian foreign minister says the three American hikers held in Iran after crossing the border with Iraq will stand trial .