Fiyaz Mughal defeated in court