Libyan embassy in Pakistan on Thursday replaced the official green flag with the tricolour flag of rebels who have occupied most parts of Tripoli.
The Libyan ambassador to Pakistan told Geo television that the decision to change the flag at the mission in Islamabad was taken with consultation of all embassy staff members.
The flag flying over the embassy was switched to the red, black and green banner from independence in 1951.
Pakistan has not yet shown any reaction to the developments in Libya. The rebels' flag was raised at a ceremony at the diplomatic mission compound.
Local journalists were invited to witness the occasion. The Libyan ambassador said that the United Nations and many countries have supported change in Libya.
The embassy also removed photographs of Colonel Gaddafi and other symbols of the Gaddafi government defaced in support of the Transitional National Council.
PHOTOS: World's top 20 vehicle-producing nations
Aaqib tipped to replace Waqar as Pakistan coach
My father is safe, still in Tripoli: Gaddafi's son
Of global crisis and geo-political consequences
'National team must be given importance, not IPL'