The agreement will allow young people between 18 and 31 year-olds to travel, work or study in the EU for up to three years.