Justin Bieber behaved like a spoiled, entitled little brat as he was being grilled in a lawsuit over his bodyguard.

The puny pop star sighed, rolled his eyes and seemed irritated at having to answer any questions about his hired muscle, who allegedly roughed up a photographer, according to footage posted by TMZ today.

He was combative, telling an opposing lawyer: “I don’t have to listen to anything you have to say.”

Bieber was sarcastic: “I don’t know if I’ve ever been to Australia. Have you ever been to Australia?”

He giggled like a schoolboy after being asked if he had ever “disciplined” his bodyguard: “Disciplined, what kind of question is that? Is he my son?”

The pop star also came off sexist, calling an opposing lawyer Katie Couric: “Well, I don’t know, Katie Couric, you tell me.”

But Bieber wasn’t laughing when he was asked about former flame Selena Gomez.

Lawyers for the plaintiff asked Bieber if he knows Gomez — and if they ever talked about their dealings with photographers.