The purchase is part of a government strategy to enrich collections with Polish and European art.