The Supreme Court of Canada is willing to take a look at the country's main laws controlling prostitution.

The top court said Thursday it will hear a government appeal of a ruling striking down the ban on brothels.

Ontario's top court had ruled the ban on bawdy houses increased the dangers prostitutes face because it forces them to work outside.

The Ontario court also upheld a ban on soliciting and reworded the law against living on the avails of prostitution.

The Supreme Court will also hear a cross-appeal by sex-trade workers on the soliciting ban.

The top court says a stay on legalizing brothels will remain in place until it decides the case.