The top court was hearing a contempt petition against Gujarat authorities for allegedly illegally demolishing residential and religious structures in the State.