That’s possible as long as the police aren’t robot, and the mansion isn’t orbiting in space. Now Elysium doesn’t have to happen (and good luck with the giant space station) but a sufficiently walled garden guarded by sufficiently automated defences supplied by a sufficiently automated workforce could in fact repel anyone else trying to get in with nothing more than small arms.
Though I reckon an organised unwashed mass could most likely do something.