Pupils from a Bournemouth school enjoyed an unexpected treat during a trip to Devon.