New law agreed to prevent sports coaches having relationships with 16 and 17-year-olds