Can a Foreigner Buy a House in Poland?

This post chiefly considers the status of non-EEA/EU/Swiss citizens when it comes to buying a house in Poland.