What happened to the thousands of Italian POW's captured by the Allies after Italy switched sides in 1943?

by GreatDario

There was a question asked about Italian POWs a few years back, but it only pertained to those POWs captured by the German armed forces after the Armistice of Cassabile. What happened to those that had already been captured by Allied forces in the years leading up to the Armistice?

Georgy_K_Zhukov