How do we get rid of dangerous explosive acetone peroxide and nitroglycerine?
I don't know if it's practical to dissolve or otherwise stabilize acetone peroxide, but I could see absorbing nitroglycerine with sawdust or trapping it in gelatine, rendering it more stable, which is how dynamite is made. Certainly if it can be done safely, detonating in place is be the preferred solution for dealing with unstable explosives. It's done frequently with unexploded munitions if they're deemed too dangerous to move, e.g. WWII bomb in Munich. I also visited a potash mine once. Old dynamite tends to "sweat" nitroglycerine, but the explosives lockers are designed such that the contents can be detonated in place without causing damage, if this happens as it's safer than attempting to remove them.