In acidizing treatments, the mixing of acids and hydrocarbons at high pressures and/or rates can cause downhole emulsions, which can also be stabilized by the presence of fines. Even when an acid treatment may be effective, the incompatibility of acid and hydrocarbons resulting in an emulsion will negate any positive effects from the stimulation treatment, and cause further blockage of the porous reservoir media. Testing of the crude sample is therefore essential when designing the fluid system for an acidizing treatment, and non-emulsifiers can be used to prevent this type of induced damage, which would otherwise have a detrimental effect on production. Mutual solvents can be used to eliminate the risk of emulsions during an acid treatment.