We all forget sometimes and also we make mistakes. Being prosecuted for non possession of a television licence is a pretty minor offence. It's no big deal other than having to go to court and face a judge (and the public). A "mea culpa" approach always ended in a small fine to those who had taken out a licence before court.
If you do take out a licence bring it with you to court.