Anwar Ibrahim's dismissal as deputy premier and finance minister on Sept 2, 1998 was lawful, the Federal Court unanimously ruled this morning.