Uni can run their essay on ChatGPT first, submit the outcome into their plagiarism check system so that all similar work submitted can be marked down. There are easy ways to resolve such problems I suppose. The whole class wouldnt submit same