The diameter of a metric bolt is the outer diameter, including the threads. Ideally measure with callipers; if it says e.g. 5.9mm, that’s an M6 bolt. If you don’t have callipers, try to measure across the end with a ruler.
A fire door might have enough solidity for this to work, but do be aware that you might not get enough grip.
A fire door might have enough solidity for this to work, but do be aware that you might not get enough grip.