Judge orders floating barrier removed