Court declares POTAG strike as legal