TORONTO -- A mandatory minimum sentence enacted by the federal Conservatives that sees first offenders sent to prison for three years on a gun possession crime is a "bad law," one of Ontario's most senior judges suggested Wednesday.

Appeal Court Justice David Doherty is one of five judges hearing a joint set of six appeals, each of which involves mandatory minimum sentences for gun crimes.

The mandatory minimums were struck down in one case and upheld in the rest -- though narrowly in one -- and hearing all of them at the same time gives the court the opportunity to send a uniform message in a currently fragmented landscape.

The arguments, being heard all week, focus on the three-year mandatory minimum sentence for possessing a loaded prohibited gun -- a law enacted in 2008 as part of the Tories' omnibus crime bill.

Lawyer Dirk Derstine, who represents a man convicted and sentenced under the law, argued against it Wednesday and began his remarks with broad strokes comments about what he called the dangers of the law.

Eventually, Doherty urged Derstine to get into the specifics of why he was arguing the law was unconstitutional, saying the focus of Derstine's arguments thus far seemed to be "this is a bad law."

"Speaking for myself, you're not going to have that hard a time convincing me of that," Doherty said.

However, Doherty seemed far less convinced of the merits of the specific case of Leroy Smickle, the one case in which the trial judge struck down the three-year mandatory minimum as unconstitutional.

Smickle was caught alone in his boxers in his cousin's apartment posing with a loaded handgun while taking pictures of himself on a webcam to post on Facebook. The police burst in looking for his cousin and illegal weapons and a surprised Smickle dropped the gun.

The Crown is taking issue with Judge Anne Molloy's findings of fact and her characterization of Smickle's behaviour as "adolescent preening."

He was no adolescent, Smickle's lawyer Mark Halfyard conceded.

"It's not becoming of someone who's 27 years old, engaged to be married and has two kids," he said. "It's colossally stupid."

But Doherty's assessment of Smickle's actions went beyond that, with the judge noting the gun was not just loaded but cocked and could have easily gone off when it was dropped, killing or injuring Smickle, the police officers or a neighbour.

"He's not picking up a gun the way you pick up a pop," Doherty said. "It's very easy to kill somebody."

The offence is a "prophylactic" one, allowing police to intervene "before someone is lying dead on the floor," Doherty said.

"Here there's a very real danger that somebody was going to end up shot," he said. "(He's) the exact guy the minimum was aimed at."

The four days of hearings began Tuesday with lawyers for both the federal and Ontario governments raising the issue of recent gun violence in Toronto as they argued in support of the mandatory minimums.

Derstine on Wednesday said there is no denying the tragedy of gun deaths, but, he said, the tragedy of the over incarcerated must also be considered.

"Before we come forward with this, 'Lock up your children, our safety's under siege'...we must be careful to parse what that concern is," he said.

It is easy to become "pre-occupied" with rising gun violence in a few Toronto neighbourhoods, Derstine said.

"But this is national policy," he said.