When Personalisation Breaks Rendering Parameters

Rendering parameters are used to allow editors to control the more presentation-oriented settings without editors needing to duplicate or clone their datasource items. However, I recently came on a situation where they seemed to break when an editor used personalisation to swap in a rendering that needed a different set of parameters to the original. I found a neat, if limited, solution that fit my needs and hopefully others may find it useful.