Does wrapping main content in a section muck around with the heading levels?

You can check visually using the HTML 5 outliner tool.

I'm a top level heading (marked up as h1)

I'm a heading 2 - or did the fact that I'm in a section make me a heading 3?