Plans to turn a warehouse in Maldon into a swimming pool for children’s lessons have been granted on appeal by an independent planning inspector.