Degenerate_toroidal_surface in step files can get wrong orientation

Hi all,
I have a problem with dealing with DEGENERATE_TOROIDAL_SURFACE field in step files.
My process is I create a geometry in a CAD-tool (we use onshape), which I then export to a step-file, in order to interpret the geometry in a set of downstream tools. In cases, if the geometry includes a generate toroidal shape, its orientation can get switched - with downstream problems to follow.

Here's what I've found so far: If the degenerate toroid is generated by a revolve-operation with its curvature center to the left of the rotation axis and below the upper edge, the OCCT-interpreted step-file has its surface switched, whereas if the rotation center is to the right of the axis and/or above the upper edge it works as I expect. In the attached files (bowl_right_below.png, etc.) I've plotted the generating drawing (left), the part after revolve (middle), and the step-file viewed through python-occ, which uses OCCT to interpret the step-file. I should add the the same happens when I use e.g. gmsh or FreeCAD to interpret (again through OCCT) the files.

I've also attached a zip including the four cases as step files.

It looks like there is something wrong with the step-file interpreter wrt. degenerate toroidals. Has anyone else experienced something similar?

kind regards
Erik