It is one of the largest compensation orders ever issued against Poland's Catholic church.