— Defendant appeals from an order granting him probation and an order denying his motion for a new trial entered after he was found guilty by a jury of one count of possessing marijuana (Health & Saf. Code, § 11500) and one count of planting and cultivating marijuana. (Health & Saf. Code, § 11530.)
Defendant, a 23-year-old law student, occupied a room with a bath in the home of Don Stevens in Menlo Park in exchange for doing the gardening. On Saturday evening, *779 February 19, 1955, he was arrested on a charge of shoplifting. He admitted the taking of the articles for which he had been arrested, but denied that he had taken anything else. The interrogating officer, Inspector ICieler, testified that he requested and received defendant’s permission to search his room. That night the officer went to the Stevens residence and was admitted by Stevens. He made a brief search of defendant’s room, found no stolen articles, and departed. On the following Sunday afternoon Stevens telephoned defendant’s father in Hollywood and suggested that he come at once to Menlo Park. In making defendant’s room tidy for defendant’s father to occupy, Stevens found a bucket containing growing plants in defendant’s bathroom. He removed the bucket and contents to the service porch.
Meanwhile, the police had obtained a “rap sheet” on defendant and learned that he had been .arrested and then released on two occasions involving narcotics. Inspector Kiéler returned to the Stevens residence on Monday morning, February 21st, and was shown the bucket by Stevens. Analysis proved that it contained growing marijuana. That evening several officers arrived at the house. They had no search warrant, but Stevens gave them permission to enter and requested that they search the entire house. Accompanied by Stevens and defendant’s father, the officers entered and searched defendant’s room. In one bureau drawer they found drying marijuana plants, marijuana seeds, and fertilizer. They found more seeds in another drawer and more fertilizer and paper used to roll cigarettes in a desk, and a heat lamp in the clothes closet.
Before the trial defendant made a motion for the appointment of a narcotics expert to be paid by the county. He contends that the denial of this motion on the ground that he was able to pay for his own expert was error. He argues that since the court had previously appointed counsel, the question of .his ability to pay for any assistance was res judicata, and that the only question for determination on the motion was the amount to be authorized for “necessary expenses.”
1
Defendant, however, was out on bail and able to work. A period of more than a month remained before
*780
trial in which he might earn $50, the estimated fee of the expert. Under such circumstances the motion was properly denied. Moreover, section 1871 of the Code of Civil Procedure provides: “Whenever it shall be made to appear to any court . . . that expert evidence is, or will be required . . . such court . . . may . . . appoint one or more experts to investigate and testify at the trial. ...” The appointment of experts under this section rests in the discretion of the court
(People
v.
McCracken,
■ At the trial defendant testified that he found the bucket containing the plants in Stevens’ backyard, that the plants looked as if they were dying, that he thought they belonged to Stevens and since Stevens was not home, he had brought them inside to care for them. He denied any knowledge of the nature of the plants. “In order to sustain a conviction of possession of narcotics it must be shown that the defendant had either physical or constructive possession, and that he was aware that the substance of which he had possession was a narcotic.”
(People
v.
Candiotto,
Defendant contends preliminarily that the trial court erred in determining the question of the admissibility of this evidence outside the presence of the jury and in not submitting it to them. The procedure adopted by the trial court was proper, for the admissibility of the evidence presented a question of law for the court. (Code Civ. Proc., §2102;
Steele
v.
United States,
The attorney general contends that it is not unreasonable to search a man’s dwelling after having arrested him some other place for a crime involving theft. Even if the object of the search was to recover other stolen articles, it was not incidental to the arrest, for it was at a distance from the place thereof and was not contemporaneous therewith. (Ag
nello
v.
United States,
*782
Defendant’s main contention is that he did not consent to the search of his room. One can, of course, freely consent to the search of his property, and having done so, “any search or taking of evidence pursuant to his consent is not unreasonable. [Citations.] Whether in a particular case an apparent consent was in fact voluntarily given or was in submission to an express or implied assertion of authority is a question of fact to be determined in the light of all the circumstances.”
(People
v.
Michael, ante,
p. 751 [
Defendant was living in the Stevens home, and it is clear that whether he was in fact a tenant, servant, or guest, Stevens believed that he had at least joint control over his quarters and the right to enter them, put them at the disposal of defendant’s father, and authorize a search thereof. Under these circumstances the officers were justified in concluding that Stevens had the authority over his home that he purported to have, and there was nothing unreasonable in their acting accordingly. In this proceeding we are not concerned with enforcing defendant’s rights under the law of trespass and landlord and tenant, but with discouraging unreasonable activity on the part of law enforcement officers.
“A
criminal prosecution is more than a game in which the Government may be checkmated and the game lost merely because its officers have not played according to rule.” (Mr. Justice Stone in
McGuire
v.
United
States,
The orders are affirmed.
Gibson, C. J., Shenk, J., Carter, J., Schauer, J., Spence, J., and Me Comb, J. pro tern., * concurred.
Notes
defendant invoked section 987a of the Penal Code in support of his motion. That section reads; "In any ease in which counsel is assigned in the superior court to defend a person who is charged therein with a crime, . . . such counsel . . . shall receive a reasonable sum for compensation and for necessary expenses, the amount of which shall be determined by the court.” (Italics added.)
A circumstance of particular significance is a defendant’s custody at the time of the request for his permission to search, for where he has submitted to arrest, or is in jail, he knows that he is virtually powerless to prevent the search.
(United States
v.
Alberti,
On direct examination Inspector Kieler testified that after he had taken defendant to jail he secured his permission to search his room. On cross-examination he was asked to relate what defendant said when asked whether he was willing to have the officers search his room for other articles that might have been stolen. He answered:
■ “Well, I don’t know word for word, but I do know that he definitely did not object. He said yes, that I have his permission to go in and search.
“Did he use those words, ‘Yes, you have my permission?’
“I wouldn’t say he did, no. I don’t know what his words were, but I do know I was given his permission at that time.
“In other words, the gist of your testimony is that you concluded, as a result of what he said, that you had permission, is that correct?
“That is true.
“But you cannot tell this court exactly what was said so the court *783 can determine for itself whether you had or had not been granted permission, is that also correct?
“Not word for word, no, I can’t.”
Defendant testified as follows as to what he said: “Well, the Inspector asked me if I objected to his going out to the house, and I said that I didn’t think there was much way I could object.” On cross-examination defendant testified, “I said, ‘I don’t see how I can object,’ seeing as he called up Don Stevens and said he would be out, that he would be coming out.” The court then ruled “At this time I am going to allow the evidence. The objection will be overruled.”
Assigned by Chairman of Judicial Council.
