A 19-year-old says he cannot remember damaging the door of a Grantham housing block, but admitted the offence after seeing the CCTV.
Keia Hull of Kenilworth Road also admitted that he had breached a conditional discharge imposed on September 3 by causing the criminal damage on September 19.
Prosecutor Shelley Wilson described how Hull was captured on CCTV just before midnight trying to get in Spitalgate House through the rear door, and succeeding after kicking it in to get through.
Staff discovered the damage on Monday morning and after checking the CCTV gave this to police who were able to identify Hull.
According to Nottinghamshire Housing Association, who run the accommodation for young people, the cost of repair was £70.
In interview, Hull said he could not remember doing it but recognised himself on CCTV. He reiterated this in court, representing himself, and when asked why he had done it said he was under the influence of drink or drugs at the time.
Hull apologised and said he took responsibility for his actions.
Magistrates decided that because Hull is scheduled to appear in court again on January 14 for various other offences, which would also effect the conditional discharge breach, they would adjourn sentencing for the criminal damage until that date.