You are mistaken, butterbean, though it is a widely believed error. A moped in Pennsylvania requires a VIN number and a "certificate of safety" from the manufacturer, but is the only registered motor vehicle in Pennsylvania that does not require an annual safety inspection. In fact, there are NO safety inspections guidelines or requirements for inspecting mopeds. It is possible to get a moped registration and license for a motored bicycle by getting the state to issue a VIN number for it, getting a state safety inspection from a "special" inspection station(the same ones permitted to issue a safety inspection sticker for hot rods and home built autos), etc. It is difficult and takes months and it is completely unnecessary, as we are already covered under the law.
There is a section in the Pennsylvania motor vehicle code that covers "assisted pedalcycles". We are permitted to ride any roadways/bikeways any bicycle may ride. The law is specific; 50cc or less, 1.5 horse power or less, automatic transmission/motor engagement, max speed on the flat with no wind of 25MPH or less, a driver's license is required for the operator, and no registration or insurance is required. In all respects a legal "assisted pedalcycle" is considered to be a bicycle except for requiring a driver's license and being banned from all state parks. We must obey ALL laws, regulations, and rules for bicycles, including not riding on sidewalks unless designated as bikeways, stopping for red lights, stop signs, etc. The rule banning all unregistered motored vehicles from state parks is a rule from the Department of Environmental Resources, the department that runs state parks. They banned all unregistered motor vehicles because there has been trouble with people running unlicensed scooters, microbikes, etc, so they just banned all unregistered motor vehicles. The cops are not bothering you because there have been many court cases and cops in most areas know about the law. Should they pull you over and discover your engine does not meet the under 50cc rule, you can be arrested for operating an illegal motor vehicle and your bike can be confiscated.
My whole point is that we really didn't need new regulations covering e-bikes, because we were already permitted, the same as gas powered bikes. I do ride in a local state park on my e-bike with the knowledge of the rangers, as long as I ride on the right side/verge of the road where bicyclists customarily ride. They won't allow me on the bike, hike, run. and skate path(multiuse trail). They threw me off the park with my gas powered motored bike.