Talk:CZ-4

How do we know that the CZ droid hanging on the wall down in the droid workshop was CZ-4? If so, how did he get fixed up so quickly to be upstairs in Jabba's throne room?