(CNN) -- A Florida judge Friday handed a legal victory to a former astronaut accused of assaulting a romantic rival, ruling evidence found in her car and statements she made to police after her arrest were inadmissible at trial.



Lisa Nowak, accused of using pepper spray against a romantic rival, is set to go on trial in April.



Ninth Judicial Circuit Judge Marc Lubet ruled that all were unlawfully obtained.



He said his decision stemmed from a variety of factors, most concerning police tactics in their interview of Lisa Nowak and the fact that no written consent was obtained to search her car.



"In each and every case, this court must ensure that the constitutional protections afforded by our forefathers are scrupulously honored," Lubet wrote in his opinion.



"Unfortunately, in this case those protections were not as thoroughly followed as the law demands."



Nowak, 44, is accused of stalking Air Force Capt. Colleen Shipman and using pepper spray against her in a parking lot at Orlando International Airport in Florida on February 5.



She pleaded not guilty March 22 to charges of attempted kidnapping with intent to inflict bodily harm, battery and burglary of a vehicle using a weapon.



Her trial is set for April. If convicted, she would face a sentence of up to life in prison.



Her defense attorneys had claimed Nowak's comments to police and her consent to search her car were made under duress.



During a hearing held in August, Lubet heard testimony from, among others, Nowak, Shipman and Orlando police detective William Becton, who interviewed Nowak after her arrest.



Lubet said in his ruling that when Nowak asked Becton if she needed an attorney during the interview, he failed to answer her question in a "simple and straightforward manner."



"There was a concerted effort to minimize and downplay the significance of the Miranda rights by referring to these constitutional rights as 'formalities' " during the interview, Lubet wrote.



On the audiotape of the interview, there was no audible response from Nowak on whether she understood that her statements could be used against her in court, and when she was asked whether anyone had threatened or promised her anything to get her to talk to police, Lubet wrote.



"Thus, there is nothing in either the audio recording or the transcript of the interview that demonstrates that defendant understood these two rights and waived them."



Nowak testified at the August hearing she did not respond to Becton's questions because she was confused, Lubet wrote.



In addition, he said, Becton used "legally impermissible" statements and techniques, including threats, to get Nowak's statements and consent.



"Well, what you say can change what you're charged with," Becton said at one point. "Right now we're looking at [a] possible life felony of carjacking."



In a written statement, an Orlando Police Department spokeswoman said it was inappropriate for the department to comment on the case since it is pending in court, and referred questions to prosecutors.



Lubet noted that, although Nowak was given the opportunity to use the restroom and was asked if she wanted something to eat, she was "subjected to a barrage of questions" beginning in the predawn hours and was questioned for six hours without being given the opportunity to sleep or make a phone call.



"Defendant had not slept during the preceding 24 hours," the judge said.



Nowak's consent to search her car, Lubet wrote, "followed illegal police activity, such as a prolonged detention, threats to obtain a warrant and repeated requests for consent."



Prosecutors accuse Nowak of driving nearly 900 miles from Houston to Orlando -- wearing NASA diapers to cut down on the number of stops she needed to make -- and donning a disguise before following Shipman from baggage claim to a parking lot.



Her attorney has strongly denied that she wore the diapers.



Shipman told police that after she got into her car, Nowak feigned distress and knocked on the window.



When Shipman cracked it to talk to her, Nowak sprayed her in the face with pepper spray
Did Nowak plead guilty to the charges What plea did Nowak enter? What did Nowak plead to charges including attempted kidnapping? What was the defendants name? What crime was the former astronaut accused of? Who was charged with attempted kidnapping? Who is accused of stalking and assaulting a romantic rival? What did Nowak's attorneys say about her comments? Who said her comments were made under duress?
She pleaded not guilty not guilty not guilty Lisa Nowak, of using pepper spray against a romantic rival, Lisa Nowak, Lisa Nowak, made under duress. defense attorneys
question: Did Nowak plead guilty to the charges, answer: She pleaded not guilty | question: What plea did Nowak enter?, answer: not guilty | question: What did Nowak plead to charges including attempted kidnapping?, answer: not guilty | question: What was the defendants name?, answer: Lisa Nowak, | question: What crime was the former astronaut accused of?, answer: of using pepper spray against a romantic rival, | question: Who was charged with attempted kidnapping?, answer: Lisa Nowak, | question: Who is accused of stalking and assaulting a romantic rival?, answer: Lisa Nowak, | question: What did Nowak's attorneys say about her comments?, answer: made under duress. | question: Who said her comments were made under duress?, answer: defense attorneys