At first I was under the impression that one leg of the 50 served the original load center and the other leg went straight to the rear AC with some sort of 20 amp OCPD in the line and was possibly just a 12 gauge Romex, so I was concerned about a small gauge Romex connected to a 50 amp feed. I was also confused about all the mention of 30 amp and 50 amps cords, adapters and plug combinations. It didn't sound good.
Then, in post #16 we learned that there is a second panel containing the OCPD for the rear AC, and it was confirmed there is an inlet in post #22. This makes more sense and explains the 30 and 50 amp cords and adapter. The original 30 amp inlet and wiring is likely abandoned and capped off (if not, the 30 amp inlet would become energized by a backfeed when the new system was powered up) but is something I'd want to verify.
I do question how the new sub panel is fed, hopefully with at least #10 and not with #12.
If fed with #10, even though #10 is only rated for 30 amps, this would be the same as the original panel, where when using a 50 to 30 adapter, the 50 amp pedestal breaker protects the 30 amp cord and feeders from short circuit and the 30 amp main in the RV protects against overload. #12 wire will only have a #12 grounding conductor and the concern there is that it could possibly melt before the 50A breaker trips during a short circuit, while a #10 grounding conductor is rated to be used on circuits up to 60 amps.
I probably would have run the 50 amp directly into a panel in the bay (with a back fed main) and from there fed the rear AC and the existing system both from that panel with a 30 amp and a 20 amp breaker. That would have been a more conventional way to do things. But in actuality, if it is set up with correctly sized wires and enclosures it may be fine. I am not sure about all the legalities but there are plenty of legal sticks and bricks installations where conductors are protected in this manner, as well as user equipment where cords are smaller than the circuits they are plugged into.
Kudos to
@Pedro Dog for looking through all the noise and confusion early on and seeing this for what it is, I'm a bit on the slow side sometimes.