Diplomats at the Libyan consulate in Prague on Monday hoisted the rebel flag for the first time as forces take control of Tripoli.