Plenty of museums contain stolen works. Consider all the artifacts from other countries and art stolen during war. There was a film recently about a family trying to recover art they owned, displayed openly in a museum, that was stolen by the Nazis.
Also, many time the Nazis officially or unofficially (ruling elites in city) "bought" them from Jewish owners. We can guess the price "agreed" to in those times.