A Sundanese youth called a magistrate a racist in a lengthy court tirade as he stood accused of threatening to kill and rape police.

Marial Dar angrily vented at the Sunshine Magistrates Court in Melbourne on Wednesday, ignoring repeated warnings to stop interrupting proceedings.

The 20-year-old wouldn't even stop when his mother walked to the dock and pleaded with him to show respect and apologise to Magistrate Frank Jones.

Marial Dar angrily vented at the Sunshine Magistrates Court (pictured) on Wednesday, ignoring repeated warnings to stop interrupting proceedings

'It's because you are racist. You have no respect. What about my human rights?' he shouted as his lawyer tried to get him bail, according to the Herald Sun.

When he was denied bail, Dar pointed his finger at Mr Jones and vowed to sue him for racial discrimination as he was dragged away by guards.

Dar was already on two counts of bail when he allegedly threatened Sergeant Gerard Dickinson at Sunshine railway station about 6.25pm on January 3.

He is accused of approaching the off-duty officer while he was with his wife, called him by name, and accused him of stealing his wallet and splitting his lip in an earlier arrest.

The African immigrant named the suburb where Sergeant Dickinson lived, and threatened to burn his house down and 'get' his daughter.

'I'm going to f**k your wife and rape your kids. You weak dog... I'm gonna kill you,' he allegedly said.

Dar also allegedly threatened to kill and rape police while they arrested one of his friends for robbery on December 6.

His altercation with Sergeant Dickinson stemmed from his arrest for abusing a taxi driver, after he which he trashed the foyer of Sunshine police station.

He allegedly threatened Sergeant Gerard Dickinson at Sunshine railway station (pictured) about 6.25pm on January 3.

Mr Jones said bail was 'not on' and remanded him in custody to face court again - this time by video link - on March 1.

'He's a very angry man at the moment. He thinks everyone is against him,' Mr Jones said, noting that he could act on his threats if he was released.

Dar moved to Australia from Sudan in 2004 when he was just six years old.

He faces charges including damaging property, making threats to kill, threatening to assault emergency workers and behaving in a riotous manner.