Some Porsches have a thing called a "Vent Switch".

It is a factory alarm interior sensor override switch; meaning you could have the windows open but still have doors, hatch, bonnet(hood) alarmed. This lets you keep the alarm on while windows and sunroof open on a hot day.