The intention of the tax code is to encourage investments and to help companies even out profit and loss, along with the associated taxes. Lawmakers just forgot to incorporate a rider clause for public safety and/or environmental damage related expense. The tax credit, if claimed, could mean $10 billion of the Gulf aftermath costs would come out of taxpayers pocket.