I’m pretty sure that as long as the upfront/ first device is adequately sized to protect the cable within the installation any other devices or switch rating do not matter.
If I have a mcb in a consumer unit rated at 6amps which feeds a small enclosure with a 100a main switch am I right in thinking the main switch rating doesn’t matter as it’s protected by the first mcb in the circuit? Cable size is 1mm