Illegal to have a 0% loan unless money is paid back 9 months before the end of the accountancy tax periodI agree, but a director's loan can be left indefinitely. It could be a 0% loan with no end date.
Very common practice.
What usually happens is the loan is "paid back" and then taken out again to avoid interest and tax implications