Looking for a new job while still employed? This Labour Court ruling could surprise you