Intermediates for use in a process of producing pyrrole compounds