The reversal of dynasties during the Bourbon era in the Kingdom of Naples