Ok. Then no, its not legal. You can ask him to get re-instated or seek a Court order.
You also should check any Directors agreement or articles of the Company to see if you can get removed.
But in the absence of this then you can seek a Court order.
You would need to complete form N208:
The Court will set the matter down for hearing and decide whether to order you be returned.
If the Court does and he refuses, this could be contempt of Court which he may be warned, fined or sent to prison.
Can I clarify anything for you about this today please?
If not, I would appreciate a 5 star rating for my answer. Thanks!