Fortunately, with the odd exception like OP’s lunatic professor, most professors assign arbitrary minimum lengths because they’re too lazy to do the actual work of reading and grading papers. They’re not going to do extra work to catch you; that would defeat the purpose.