A MURGON man assumed the identity of a close friend of his, when police arrested him for breaking into a car.
Officers were called to an address in Goodna, following a report of the break-in in progress about 12.15am on November 21.
A male resident had observed two males rumaging through a parked vehicle after he heard a loud bang.
When police arrived minutes later, they found two men who matched the witness description in a nearby street.
At Ipswich Magistrates Court this week, one of the men, Eric Allan Anderson, pleaded guilty to one count of enter premises with intent.
When Anderson was searched by police on the night of the incident, his backpack contained rocks, scissors and a used, capped syringe.
Police prosecutor Senior Constable Megan O'Brien said the two men had gained access to the vehicle by smashing the rear window.
She said the vehicle had been rummaged through, however nothing had been stolen.
When police charged Anderson and asked for his name the 23-year-old told them he was Cody Jack Russell Davidson.
It was later revealed Mr Davidson was a mate of Anderson's from Murgon who was of similar age and appearance.
The discovery was made after Anderson's fingerprints were analysed and did not match up with the prints of Mr Davidson.
Anderson was also charged with obstructing police and failing to take reasonable care and precautions in respect of a syringe.
Defence lawyer Trevor Hoskin said his client had been in Ipswich visiting family and friends and had been in custody since the incident.
Mr Hoskin said Anderson had apparently been under the influence of a drug at the time of the offence.
He said Anderson was currently on a wholly suspended sentence for a domestic violence breach but his last offence of dishonesty was two years ago.
For the enter premises with intent charge, Anderson was sentenced to four months in jail, wholly suspended for four months. For the other charges he was fined $300.
Since the offences were commited during a 12-month suspended sentence, that sentence was extended for another three months.