Make shortcode’s Bootstrap CSS override the theme’s CSS, how?

Ok, I think I solved:
followed this discussion so I imported Bootstrap SASS file in a new SASS file creating a custom class as container to isolate Bootstrap components and compiled the custom .scss to .css. Fixed html and body selector in new CSS file and to have working tooltips I did:

$('[data-toggle="tooltip"]').tooltip({
  container: '.custom-container', //needed to have working tooltips
  html: true,
});