The Congress, which approached the Supreme Court along with the Shiv Sena and the NCP over the way Devendra Fadnavis was sworn in as Maharashtra chief minister, today said the BJP's "is an illegitimate government that does not have majority" and it can be proven only by a floor test.