LAKE FOREST (CBS) — An Orange County judge has issued a temporary injunction, ordering seven Lake Forest medical marijuana shops to close.

The businesses are located in a building on the 24600 block of Raymond Way near the Montessori Children’s School House.

READ MORE: Residents Around Alisal Fire Burn Area In Santa Barbara County Ordered To Evacuate As Storm Arrives

New state law bans pot shops within 600 feet of a school.

“We are pleased to see state law catch up with our stance that marijuana stores are not a compatible land use near schools,” Mayor Peter Herzog told the Orange County Register. “We will continue to aggressively pursue our stance that marijuana stores were not contemplated on our land use plan and are therefore not allowed in any area of our city.”

READ MORE: 'Supercharge' Storm To Bring Heavy Rainfall To Southland

A court hearing is scheduled next month on the preliminary injunction.

Voters statewide approved medical marijuana in 1996, but cities and counties have placed numerous restrictions on where and how they operate.

MORE NEWS: Lakers Overcome Morant's 40-points, Beat Grizzlies 121-118 For First Win Of Season

(©2011 CBS Local Media, a division of CBS Radio Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Wire services contributed to this report.)