Similar law here, with same exclusion for non-motorized boats! Wonder what an 'adequate railing' means.I once got "pulled over" by the State Park LEO while hosting some friend's on my old Catalina 25. It is a small inland reservoir, there was no wind, so we were just motoring, but three of us were in the cockpit, and two were forward of the cockpit on the cabintop roof. LEO stopped us, only a warning though, stating that EVERYONE had to be in the cockpit. I guess the rationale was that, even though sailboats are sailed often with people forward of the cockpit, since we didn't have the sails up, there was no need for anyone to be out of the cockpit, and to be such was unlawful. fortunately, no one had been drinking. It was a bit of a bummer tho, because the cockpit got quite cramped.
"ON THE WATER LAWS AND RULES: It’s against the law: To ride or sit on the gunwales, bow, transom, or decking over the bow, sides or stern of any motorboat while underway, unless it is equipped with an adequate railing. It is also illegal to operate a motorboat while any person is riding or sitting in a manner as just listed.
#PROTIP: A water-based LEO here told me this is the #1 reason for pullovers.