I have had a couple of stroppy colonies, when I first started keeping bees I panicked and gave them away.
Looking back they were not the worst I've had.
I'm only a novice but I think I'd slide them over and stick a hive in their position for a day to bleed off the flyers then wrap up well, two pairs of gloves and tape up the cuffs.
Once you are confident of no stings search for the queen and kill it.
Remove the temporary box, slide the hive back and requeen with a mated queen.
Then leave them well alone until the old nasty bees have been replaced.
Just my novice opinion.