True, but if lawyers can be disbarred for lying it would be the end of the profession.
They can be disbarred for lying in their court cases.