Serial attention seeker Nelly Yoa has been granted bail under strict conditions including a ban on him entering Melbourne's CBD after challenging a prison sentence imposed for lying to police.

The 30-year-old was on Thursday jailed for five months but immediately challenged the sentence, which also included an 18-month community corrections order once released.

Nelly Yoa arrives at court on Thursday Credit:AAP

Yoa had previously pleaded guilty in the Melbourne Magistrates Court to five offences, including perjury and making false report, and breaching orders.

"Your preoccupation with your reputation and public image are a confabulation of a narcissistic individual ... aimed at protecting any constructed public image," deputy chief magistrate Felicity Broughton said.