William Mackenzie was "taken to the ground" by security staff as he tried to bypass the entry search at Inverness Justice Centre.