In the case of production from a qualified marginal well which is eligible for the credit allowed under section
45K for the taxable year, no credit shall be allowable under this section unless the taxpayer elects not to claim the credit under section
45K with respect to the well.