Sulphanilic acid is p-amino benzene sulphonic acid. It has no –COOH group hence no esterification test for carboxyl group.

But it has sulphur, and nitrogen atom hence gives red colour in Lassigne's test for extra element detection.
Hence, statement I is incorrect but statement II is correct.