It depends. Does the area beyond the border have some static color (eg. black)? Because in that case, you can simply make that area appear above the object you want to crop.
If it doesn’t have color (is transparent), I’d say that’s a bit more difficult.