What is the difference between informality and illegality?

Michael Kolocek (University of Dortmund) posited in the PLPR special sessions on the Credibility of Informality (Hong Kong, 20-25 February 2017) that: “institutional forms that are illegal, but considered credible by the states, are more likely to be called informal.”