General Ledger Import ignores required reference codes

We have reference codes required on some of our GL accounts.  When we import a journal entry, it is possible to post the entry without the reference code.  Is there a way to stop this?