Cape Town (CPT), ZA to Dubai (DXB), AE: 3 sets of rules apply.
South Africa has no EU-style flight compensation scheme. Your rights come from the general Consumer Protection Act: if you are bumped because the airline sold more seats than it had, you are owed a refund with interest plus your directly related costs, unless it offers you a comparable alternative. You can also demand timely service or a partial refund for poor service. International trips are covered by the Montreal Convention.
Applies because: The Consumer Protection Act applies to every transaction occurring within South Africa (section 5(1)(a)). In practice this covers domestic flights and tickets bought in South Africa. Whether it reaches tickets bought abroad was not verified.
The UAE has no fixed cash compensation for delays, cancellations or denied boarding. The federal GCAA rule requires airlines to give you information, meals, communication and, for long delays, a hotel and transport, plus rebooking or a flight back when flights are cancelled or you are bumped. To recover money you actually lost, rely on the Montreal Convention, UAE law and the airline's own conditions of carriage.
Applies because: Flights diverted to a UAE airport (PWP.A.003(b), PWP.B.005)
Baseline for international trips The Montreal Convention is the worldwide treaty that makes airlines liable for injury or death, lost, damaged or delayed bags, and losses caused by flight delays on most international trips. It does not give fixed cash payouts for delays. You get back the costs you can prove, up to set limits, unless the airline shows it did everything reasonable to avoid the problem. Strict time limits apply, so report baggage problems in writing quickly.
Applies because: International journeys between two countries that are parties to the Convention (most countries are). Some countries are only parties to the older Warsaw Convention.