You could drum them out and then work with the empty hive. The description below comes from
http://maarec.psu.edu/pdfs/Removing_Bees.pdf for the record this is not a new idea. You can still give them back their good frames. Good luck and let us know how you work this one out.
DRUMMING
Another method of transferring bees is by drumming them out
of the old hive. To drum bees, remove the bottom of the old
hive and turn it upside down. Place a new hive with drawn
comb or foundation on top of the inverted box and close all
openings. Drum vigorously with a rubber mallet, stick or
hammer on the side of the old hive continuously for eight to ten
minutes. This causes the bees and queen to move upward.
Smoking the old colony before drumming is also helpful in
starting the bees upward. When most of the bees have moved
up into the new hive, a queen excluder is then placed between
the new and old equipment and an upper entrance provided.
After several days, the new hive should be checked for evidence
of the queen. If the queen is not above, the queen
excluder must be removed and the drumming process repeated.
Three weeks later, after the queen has been confined above and
all the brood has emerged below, the old hive may be removed
and discarded.
A variation of the above procedure would be to remove the
combs from the old nest immediately after drumming the adult
bees out and piecing the comb into empty frames for the new
hive. This is accomplished by cutting large pieces of brood
comb and then arranging them on a flat surface in empty
frames. The pieces are held in place by wrapping string or
stretching rubber bands around the frames. It is advisable to
transfer only comb containing worker brood. Empty comb or
comb with drone brood should be discarded. Comb with honey
can be cut so the bees may rob it or pieced into frames as above
for worker food.
The advantage of drumming is that it is quick and requires little
manipulation by the beekeeper. When brood comb is cut and
placed into frames the colony will expand quickly in its new
home and have a good chance of winter survival.