Canada court lifts ban on brothels