Can I deduct these Real Estate taxes on overseas rental property ?

I inherited a rental property overseas.   There were $17350 outstanding property taxes from 2009 to 2013 including fines for late payment.  It was a tax on second properties and was not tax deductible in the  foreign country.   It was only payable because I sold the property.   I had to provide proof of payment before the sale could be completed.H ad I waited 3 more year I would have not been required to pay due to a government amnesty.   Am I able to include on my tax return for IRS under real estate taxes or sale expenses?