NSW govt could face RAT court challenge