If you spend some time deliberately testing the distribution of your weights, sometimes you can find a configuration that allows you to have both reasonable horizontal trim underwater and be vertically positioned on the surface. I call it my optimal weight positioning. I can swim efficiently underwater, but not have to keep finning on the surface to maintain a vertical position. A natural vertical position on the surface would give you a better chance if you went unconscious. A side effect is that if you went horizontal on the surface, you might float face up.
There are a lot of people who don't specifically spend time on their weight positioning with jackets that have bad horizontal trim under water and others with back inflates that push their heads in the water at the surface. The emphasis in open water classes is just to have enough weight, not enough weight in the proper position.
My optimal weight positioning usually requires the use of trim weights on the tank and possibly the need for an additional tank band for the trim weight pouches so that they can be positioned in better locations other than just where the tank band happens to be. The average rec bcd just does not have enough flexibility in positioning weights optimally.
This works better if you are using a backplate and wing, but can still be done with a jacket or back inflate.
This is one of the things that we work on during the peak performance buoyancy dive in the advanced course.