Can't buy mix classes online?
Many airline or OTA websites can't even book different classes for outbound and return, let alone two separate classes between origin and destination. I assume most/all PE long-haul fares book into Y on the regional connecting flight. Unless there are some (more expensive ones) that allow J, you'd probably have to piece together two separate fare bases, and that can get expensive.