Public authorities often enforce pollution abatement through monitoring and penalties. However, monitoring is costly and only a small percentage of firms are monitored. Inspectors may be corrupt and permit evasion for a bribe. For firms in developing countries, it is expensive to enter formally and install costly abatement technologies, which are accessible only to formal firms. This paper studies a framework where firms, depending on abatement cost, the probability of inspection, the likelihood of a corrupt inspector and the bribe, choose whether to organize formally or informally and whether to abate before inspection. Firms that do not abate beforehand are liable to either pay a penalty and abate or close down post-inspection. Greater monitoring and lower abatement costs encourage firms to move towards formal organization, while excessively high penalties may discourage entry.