Note on inversion temperature in pinning of vortices by periodic structures