Surely if you use a 4.0 GPU on a motherboard with PCIE 3.0 (or even 2.0), it will simply downgrade to use that? Hence why RX5700 works just fine in older motherboards.
Problem would be only when motherboard AND GPU both are 4.0, then it could become a problem with riser length?