The magnetic state of Pr in PrBa2Cu3O7