I tried numerous times to make this model using only 2D sketches, and it either fails, or the wrong result is given:
If you have some insight into why a 3D sketch must be used for the profile, please share your thoughts.
3D sketches aren't a must...
The white is the one made with a 3D sketch, the red is made with a 2D one:

Weird. Every time I make the model with 2D sketches I get the weird results shown above, or I get no result (i.e. an error).
I'll keep trying and see if I can make it work. I'm pretty sure my original solution used only 2D sketches, but I deleted the file, and have not been able to recreate it.