No its not illegal to use, which is why the boiler is only turned off by the controls but its not advised to use.
The engineer should have installed it leaving a 1mb drop. He should have sorted that from the start.
If you have a wall the a gas pipe can be run externally, then you can do...