Magnetic hysteresis behavior and magnetic pinning in a d0 ferromagnet/superconductor nanostructure