Just grade it like law school (in the US). Homework means nothing, and only the final exam counts. The final exam is administered in a room where you have no access to AI.