Hello,
Your request seems to be strange for me.
Since the Poland Republic didnt exists before the november 1918, the nationality of your Grand Father is prussian (the Poland was split in three parts in 1795)
After, such information about any change of his nationality must be written in the marriage’s record of your grand father.
Kind Regards