When can a country legally keep art captured in war?

The answer seems to be if it was looted before 1896. A fascinating discussion of this and many other issues in the international law of looted art are discussed in The War Over Plunder: Who Owns Art Stolen in War?