I've done the exact same thing to get into my office building at a weekend - using a small screwdriver only.
Most decent intercom manufacturers recognised this flaw and have a 'security relay' unit that controls the actual door release. It's connected to the intercom by a serial cable and effectively needs a valid access command to release. Not impenetrable but you'd need an identical intercom to circumvent it.