Updated

Wigged-out actress Amanda Bynes has been denied permission to leave the psychiatric facility in which she has been held in for more than a week, according to a report.

A California judge yesterday shot down her lawyer’s argument — in a hearing right at the psych ward — that the hospital had no legal basis to hold Bynes, according to TMZ.

The former Nickelodeon child star was placed on involuntary psychiatric hold last week after she allegedly set fire to an unsuspecting woman’s driveway in Thousand Oaks, Calif.

That has been extended to two weeks by doctors so they can properly evaluate her, according to reports.

Click here for more from The New York Post.