A previous poster seemed to think since ios10 that it would be detected that the new phone had a lesser version and would be updated during the process?
It may well ask but because I am mainly on beta software mine will never work without the profile.
You will have better control of the process doing it before restoring the backup also give you time to have a mess around before putting it back on