A dog rolling over - submissive or offensive?

Okay - this might make sense when dogs play with each other, but does it still make sense when a dog rolls over and allows a person to rub their tummy?

Dogs roll over in this way in order to avoid a bite on the back of the neck, and to put them in a better position to launch an upward bite at the neck of their playmate