I emphasize with the student here, but passing it through an ai detector yourself before submitting and keeping a version history seems like an easy way to combat any false claims.
For one thing, one AI “detector” will not necessarily return the same result as another.