I've had people refuse to give me a tax disc when the insurance ran out on the day I wanted the tax disc and couldn't be arsed to have a go...
Legally however, the car IS insured up to the date/time of expiry so you should be able to get a tax disc and may have to argue the fact at the Post Office. I am not aware of any lawful requirements other than you must have insurance.
Good luck