Insights into the unexpected chemoselectivity in Brønsted acid catalyzed cyclization of isatins with enaminones: convenient synthesis of pyrrolo[3,4-c]quinolin-1-ones and spirooxindoles.