How do I get past the wizard's gate?


Hint 1 of 3:
The gate is hinged on both sides.

Hint 2 of 3:
First, you have to undo the hinges with some sort of screwdriver.

Hint 3 of 3:
A certain treasure would make a good screwdriver.